Re: Styles Not showing up

message from Murray *TMM* on 15 Jul 2004
This will give you two link styles -

<style type="text/css">
<!--
a:link {
color:red;
}
.nav a:link {
color:blue;
}
<a href="red.html">This link will be red</a>
<span class="nav"><a href="blue.html">This link will be blue</a></span>

Here are some tutorials on why this works and pseudo-classes in general -

http://www.mako4css.com
http://www.thepattysite.com/linkstyles1.cfm
http://www.projectseven.com/tutorials/pseudoclasses/index.htm
 
yevri replied to Murray *TMM* on 15 Jul 2004
Thanks, Murray. I'll dig into that and learn more about CSS and I'll go back into my other sites and see how I did it from within DW.

Thanks,

Yevri
 
Murray *TMM* replied to yevri on 15 Jul 2004
You're welcome!
 
yevri replied to Murray *TMM* on 16 Jul 2004
Big duh on my part. It turns out that I had an error in my code. Missed a } at
the end of my first entry in the stylesheet. Once I found and fixed that, all
the styles worked. But I learned a little more about CSS in the process (gotta
find a silver lining).

Thanks for your help.

Yevri
 

Archived message: Re: Styles Not showing up (Macromedia Dreamweaver Web Design)