navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Hyperlinks to bookmarks

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> Hyperlinks to bookmarks
Page: [1]
 
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
Hyperlinks to bookmarks - 3/27/2002 11:54:05   
I have a page with bookmarks. Is there anyway to make hyperlinks to these bookmarks without the hyperlink becoming underlined?

Thanks for any ideas

Mike vR
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 13:50:23   
You could use a style. For instance, I use this on my Intranet:

<style>
<!--
A:link {text-decoration: none; color: blue}
A:visited {text-decoration: none; color: blue}
A:hover { text-decoration: none; color: #ff0000 }
//-->
</style>

It makes my links blue with no underline and changes to red on hover. Season to taste... Hope it helps...

 

(in reply to mv8167)
pmagas

 

Posts: 367
Joined: 3/26/2002
From: St. Louis MO USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 14:37:10   
Can I use this technique on individual hyperlinks within a page?

I purchased a template that has text boxes but the background of the text box is the same color as the visited hyperlink - so the text box doesn't make any sense if the person's been to the referenced page.

Can I use this technique to 'override' just that one hyperlink? (The page uses css if that matters?)

Penny

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 15:06:09   
Roger

The last hyperlink remains underlined. I ccvhe4ck out the html code and all of the links look exactly the same. Also, ebverything looks good in Normal but when I go to Preview, the ladst hyperlink becomes underlined;.

Mike vR

(in reply to mv8167)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 15:09:20   
I don't know for sure - I'm not that 'up' on styles. However you can assign a class to the stylesheet and assign that one link a class. Maybe something like:

<style>
<!--
A:link {text-decoration: none; color: blue}
A:visited {text-decoration: none; color: blue}
A:active { text-decoration: none; color: blue }
A:hover { text-decoration: none; color: red }

A.myClass:link { text-decoration: none; color: red}
A.myClass:visited { text-decoration: none; color: red}
A.myClass:active { text-decoration: none; color: red}
A.myClass:hover { text-decoration: none; color: blue}
//-->
</style>

Put that code in your <head></head> section. Then just use your links like so:

<a href="myLink1Page.asp">Link1</a> (normal link)
<a href="myLink2Page.asp" class="myClass">Link2</a> (new 'class' link)

EDIT: Had my colors screwy!!!

Edited by - rdouglass on 03/27/2002 15:11:39

(in reply to mv8167)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 15:10:34   
Sorry Mike, that prev post was for Penny. Can you provide a URL?

 

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 15:20:59   
Roger,

Thanks... check this out

http://philippinehearing.tripod.com/contents.htm

Mike

Mike vR

(in reply to mv8167)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 15:46:41   
Hi Mike,

Checked out your page and the ALL look underlined to me (IE 6.x). It looks like you're using themes and they are probably overriding the <style> stuff we dropped in. You may be able to get around it by using classes (see post above) but I'm not sure.

I don't use themes so I don't know how to work 'em. Let me see if I can get someone to join the topic....

 

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 15:52:27   
Roger,

Thanks for helping.

Off the subject... If you dont use themes, then what do you use in FP? Just curious.

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 16:42:53   
My experience has been that themes do not override style sheets.

I think the problem lies somewhere else. Have you tried using Hex values instead of the word "blue" in the css code?

I've also noticed that sometimes the style sheet works only if it ends with a semicolon like this.

A:hover {text-decoration: none; color: #ff0000; }

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/27/2002 16:52:17   
T,

I will give it a go. The "underline" only happens at the last hyperlink. Roger mentioned he only saw my hyperlinks underlined. I see all of the underlies removed but the last. I to use IE 6.0.

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 9:49:15   
If the theme has "apply using css" then it may use an external style sheet that's hidden, and that could cause conflicts, but the link to that style sheet would show up in the source code of that page in the browser. I don't see a link to an external style sheet in your source code.

When I work with themes I never use "apply with css," and I usually use a small external style sheet. I never have any problems with this way of handling text link colors and hover effects.

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 11:00:41   
Tom,

Thanks for the advice.

Where can I go to learn about setting up an external style sheet and then linking and using it?

see ya

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 11:20:29   
http://www.outfront.net/tutorials_02/adv_tech/css1.htm

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 11:26:07   
tanks

Mike vR

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 13:02:00   
Tom,

I read over and did the examples. The Embedded css worked fine But not the Linked css. I am using the same directory for my web page and css but the css is not controlling the h1..h3..etc formating.

In my page before </head> I used

<LINK REL=STYLESHEET TYPE="text/css" HREF="site.css">

Is this valid.

Can we find the css file that runs the FP2000 themes we are using?

One last Q...

In Roger's Style code, how do we use the A:link ... etc to control the hyperlinks? Or is it automatic when we set text to hyperlink?

Thanks a ton



Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 13:12:20   
The syntax looks correct. Finding out why a style sheet doesn't work the way it's supposed to in a given browser is something that can take lots of time and drive you crazy. It can be a semi colon, or a colon out of place. It can also just be that the browser doesn't support the code even though the code is W3C correct.

Make sure "apply with css" is turned off on your theme. There's no reason to have that on. I don't know how it would compete against your css code, but maybe I didn't look closely enough. With all pages closed, do Format > Theme > Uncheck "apply with css" if it is checked.


t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 13:25:57   
Tom,

Sorry for all of this.

I did as you asked and the Apply with CSS was not checked.

I just copied and pasted the provided css code into notepad then into a new style page. I opened a new page and but the link to my new css page. But none of the text changes to the new style sheet.

It seems that it should work as perscribed by the tutorial. Embedded works fine. Just not the linked version.

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 13:33:08   
I don't see a link to an external style sheet on the page url you gave us?

t

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 13:34:39   
Also, it doesn't look like you ever tried using hex values instead of the word "blue."

Also, it's proper form to end each style with a semi colon. Yours don't end that way. It matters sometimes.

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 14:05:06   
Sorry,

I have not added to css to my site. I am still reading about it in the online doc.

The one I was referring to was the tutorial link you gave me. They also use blue instead of hex values. I will look for a hex value chart. I haven't memorised them.

I finally found the css my page runs off under _themes. Can I copy this and change it? I figured how to import it using format>styles, add. Correct?

The embeded style I willl change the color and add in the semi-collen. Right now. My FP keeps locking up after I work on it to long.

Thanks

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 14:12:28   
The other day, I had FP keep crashing when I was working on a .css file. It didn't do that yesterday. Don't know why yesterday was different than the previous time.

My workaround was to right click on the .css file > open with > text editor > notepad. Then do work > save > click back on the FP window -- focus must be restored to FP for the changes to save.

You can use FP to creat a hex value. Just change the color of some text > look in the source code to see the hex value in the font tag.

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 14:16:26   
Tom,

I added in the hex code and ;

When I looked up my hex chart I saw this code with no color is this ok to do?


<STYLE TYPE="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--></STYLE>

I am suppose to remove the <!-- nd --> ??


Mike vR

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 14:20:16   
Tom,

I added in the hex code and ;

When I looked up my hex chart I saw this code with no color is this ok to do?


<STYLE TYPE="text/css">
<!--
A:link {text-decoration:none}
A:visited {text-decoration:none}
--></STYLE>

I am suppose to remove the <!-- nd --> ??


Mike vR

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 14:23:14   
Mine crashes all of the time after working on html files. This is my first day on css files. My whole computer will lock up with no warning and I run 256meg ram.

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 14:50:41   
You're missing the ending semicolon. That may or may not be the problem.

A:link {text-decoration:none}

Should be

A:link {text-decoration:none;}

I recommend that you buy a book on css. We could go around and around on this. That's why I'm not sure that it's worth the effort on many projects. Unless you really know it and how to look up and test syntax, it can complicate the development process more than it ought to.

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 15:00:20   
Tom,

Just one last thing.

In every embeded style sheet I see, the code is commented out with <!-- and //-->. Are these two to be removed. I did remove them just curious if I should be. Same with the ; I will put them in the right location. But nobody has them in their code.

Thanks for your time.

Mike vR

(in reply to mv8167)
Thomas Brunt

 

Posts: 6109
Joined: 6/6/1998
From: St. Matthews SC USA
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 15:11:37   
It doesn't really matter either way.

t

(in reply to mv8167)
mv8167

 

Posts: 117
From: St. Louis, MO
Status: offline

 
RE: Hyperlinks to bookmarks - 3/28/2002 15:39:42   
Tom,

Thanks again.

Cant seem to figure out why in IE6 everything in Comments works butthe Contact us link. In Netscape 6, nothing works but two.

Crazy crazy... crazy.

See ya

Mike vR

(in reply to mv8167)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> Hyperlinks to bookmarks
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts