[thelist] css and multiple links
Jay Blanchard
jay.blanchard at niicommunications.com
Mon Sep 9 07:39:01 CDT 2002
[snip]
> Oh my gosh. ID's, right? I'm really sorry. Too late.
>
>
>>but I can't seem to to wrap all my custom links in a div or span.
>>To be honest, i dont even know which one to use, but i can't get
>>neither to work. Is this not a do-able thing? Do I have to put my
>>class="navbar" in each anchor tag?? That seems as bad as just
>>using font tags.
>
[/snip]
Try this
a:link.a_class_name {
foo
bar
}
Then in your HTML call any link with;
<a href="whatever" class="a_class_name">
IMPORTANT!!! For each link class there will be more than one entry in the
CSS
a:link.a_class_name
a:hover.a_class_name
a:active.a_class_name
etc.
Just remember to put them in the right order.
More information about the thelist
mailing list