HighDots Forums  

CSS and creating a txt link which changes colour

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS and creating a txt link which changes colour in the Macromedia Dreamweaver forum.



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

Default CSS and creating a txt link which changes colour - 07-17-2003 , 05:39 AM






Hi,

Ok I've created a style sheet called "bluelink" this works fine and the choosen txt changes colour. My problem is when the link is unactive it have no style sheet so therefore it is brillant blue and underlined. How do I controll this style? Here's the code below. Many Thanks


<tr>
<td height="62" class="bodytext">
<div align="center">If you cannot see the animation you need to download
macromedia flash player <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" class="bluelink">click
here</a> to go to download.</div></td>
</tr>




Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: CSS and creating a txt link which changes colour - 07-17-2003 , 06:15 AM






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

Quote:
Hi,

Ok I've created a style sheet called "bluelink" this works fine and the choosen txt changes colour. My problem is when the link is unactive it have no style sheet so therefore it is brillant blue and underlined. How do I controll this style? Here's the code below. Many Thanks


tr
td height="62" class="bodytext"> <div align="center">If you cannot see the animation you need to download
macromedia flash player <a href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" class="bluelink">click
here</a> to go to download.</div></td
/tr




See e.g. www.thepattysite.com for CSS on links

--
Dan Vendel - *GOF*
http://www.vendel.info
Contact me directly by clicking here:
http://contact.vendel.info
Formmail tutorial:
http://www.vendel.info/tut/formmail.html
Nested table demonstration:
http://www.vendel.info/tabletut/



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

Default Re: CSS and creating a txt link which changes colour - 07-17-2003 , 12:56 PM



sa_designer webforumsuser wrote:

Quote:
Ok I've created a style sheet called "bluelink" this works fine and
the choosen txt changes colour. My problem is when the link is
unactive it have no style sheet so therefore it is brillant blue and
underlined. How do I controll this style?
Have a look at the CSS specs:

5.11.2 The link pseudo-classes: :link and :visited
http://www.w3.org/TR/REC-CSS2/selector.html#link-pseudo-classes

5.11.3 The dynamic pseudo-classes: :hover, :active, and :focus
http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes

Micha


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.