HighDots Forums  

Disabling Link Underline and Color Change

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Disabling Link Underline and Color Change in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tarvardian
 
Posts: n/a

Default Disabling Link Underline and Color Change - 07-02-2004 , 03:53 PM






Hi --

On a site I'm creating I have the sub-navigation along the left hand side of
each page that I've created using a small table in DW and simple text.

How do I make it work so that when a user hovers over one of the links (and
after it is clicked) it neither changes color nor has the underline.

Any help is appreciated.
John


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

Default Re: Disabling Link Underline and Color Change - 07-02-2004 , 04:20 PM






Hi John,

You need to add CSS styles for the link states. Get the CSS dialog box by
clicking on text>css styles>new. Click the this document only button under
Define in if you only want this applied to the page you're working on. Click
on the Advanced button under selector type. The pop-up menu by Selector will
now list the four link states. Select one, click OK, then in the type dialog
box that comes up, click none for decoration (gets rid of the underline) and
select your desired text color. Repeat for all link states. You can probably
get by with less--just click none for decoration on a:hover and your desired
text color for a:visited.

If you want this to apply to multiple pages, you can create a CSS style sheet
with these changes and link it to your pages.

Hope that's clear--I'm a newbie too, but I have gotten this to work for me.

Cindy


Reply With Quote
  #3  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Disabling Link Underline and Color Change - 07-02-2004 , 04:21 PM



John:

Pseudo-classes and container styles are what you need - here are some
tutorials.
http://www.mako4css.com
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm

These will show you how to have multiple link styles on the same page.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tarvardian" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi --

On a site I'm creating I have the sub-navigation along the left hand side
of
each page that I've created using a small table in DW and simple text.

How do I make it work so that when a user hovers over one of the links
(and
after it is clicked) it neither changes color nor has the underline.

Any help is appreciated.
John




Reply With Quote
  #4  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Disabling Link Underline and Color Change - 07-02-2004 , 04:27 PM



.oO(Tarvardian)

Quote:
How do I make it work so that when a user hovers over one of the links (and
after it is clicked) it neither changes color nor has the underline.
Does this mean you don't want a hover effect on visited links? You could
achieve this by simply changing the order of the pseudo-classes in your
stylesheet to

:link
:hover
:visited
:active

With the above the :visited pseudo-class will override the :hover.

HTH
Micha


Reply With Quote
  #5  
Old   
Phoenix Flare
 
Posts: n/a

Default Re: Disabling Link Underline and Color Change - 07-02-2004 , 04:44 PM



<style type="text/css">
<!--
body

a:link { color: FFFFFF; text-decoration: none;
}
-->
</style>



There you go

Get a book on CSS: Sams Teach yourself CSS in 24 hours

Reply With Quote
  #6  
Old   
Tarvardian
 
Posts: n/a

Default Re: Disabling Link Underline and Color Change - 07-07-2004 , 12:48 PM



Cindy, Murray, Micha and Phoenix Flare --

Thanks for the help! Your advice got me going fast as well as giving me resources to learn a bit more about DW.

Thanks again.
John

Reply With Quote
  #7  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Disabling Link Underline and Color Change - 07-07-2004 , 12:49 PM



John:

You're welcome!

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Tarvardian" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Cindy, Murray, Micha and Phoenix Flare --

Thanks for the help! Your advice got me going fast as well as giving me
resources to learn a bit more about DW.

Thanks again.
John



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.