HighDots Forums  

Links - Underline (alternating & rollover)

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Links - Underline (alternating & rollover) in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alecob webforumsuser@macromedia.com
 
Posts: n/a

Default Links - Underline (alternating & rollover) - 01-14-2004 , 03:53 AM






I have used CSS to create links that do not show underlines. Any idea how to make those links have underlines show under them when someone scrolls over them?

Thanks,

AB



Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: Links - Underline (alternating & rollover) - 01-14-2004 , 04:05 AM






"alecob" webforumsuser (AT) macromedia (DOT) com wrote:

Quote:
I have used CSS to create links that do not show underlines. Any idea how to make those links have underlines show under them when someone scrolls over them?

Thanks,

AB


Use css

If your links are within a container, table or layer, then use something
like this. You can cut this code and paste it directly before the
closing </head> tag of your page code.

<style type="text/css">
..mylinks {
font: 11px verdana, helvetica, sans-serif;
color: #ab1;
background-color: 999;
}

..mylinks a {
color: #ab1;
text-decoration: none;
}

..mylinks a:hover {
color: #fff;
text-decoration: underline;
}
</style>



Then select the appropriate tag selector, which contains your links, in
the bottom left hand corner of the DW design screen, a <table> <td> or
<div>, open the css selector panel and choose mylinks.

For a more indepth tutorial on how to create and control your links go here:
http://www.thepattysite.com/linkstyles3.cfm




Reply With Quote
  #3  
Old   
alecob webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Links - Underline (alternating & rollover) - 01-14-2004 , 05:20 AM



Thank you very much for taking your time to reply... and to reply with something that is actual right on target!

Again, thank you.

Sincerely,

AB




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.