Help - Search - Members - Calendar
Full Version: CSS Link Styles
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
anzbex
I know someone will be able to help me out here.I would like to create 2 types of links on the same page. EG Block rollovers & normal links.How do i go about doing this?
Any help would be appreciated biggrin.gif

Thanks
S-Majere
Simply create two separate classes for them:

For example, use a 'nav' class, represented thusly:

CODE
a.nav:link,a.nav:active,a.nav:visited{style here}

a.nav:hover{style here}


Your links could look something like this:

CODE
<a href="http://www.linkhere.com" class="nav">Link</a>


And you'd do the same for your other class. wink.gif
anzbex
I'll give this a go on my next layout.I'll let you know how i go.Thanks for the help thumbsup.gif
S-Majere
Hokay dokay!

I'll leave this open in case you need it wink.gif
anzbex
Thanks , much appreciated biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.