Log In · Register

 
 
Closed TopicStart new topic
CSS Link Styles
anzbex
post Apr 25 2008, 02:14 AM
Post #1


Senior Member
****

Group: Official Designer
Posts: 214
Joined: Mar 2008
Member No: 626,536



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
post Apr 25 2008, 07:58 AM
Post #2


Addict
*******

Group: Staff Alumni
Posts: 3,918
Joined: Jun 2007
Member No: 538,522



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
post Apr 25 2008, 08:33 AM
Post #3


Senior Member
****

Group: Official Designer
Posts: 214
Joined: Mar 2008
Member No: 626,536



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
post Apr 25 2008, 07:07 PM
Post #4


Addict
*******

Group: Staff Alumni
Posts: 3,918
Joined: Jun 2007
Member No: 538,522



Hokay dokay!

I'll leave this open in case you need it wink.gif
 
anzbex
post Apr 26 2008, 03:44 AM
Post #5


Senior Member
****

Group: Official Designer
Posts: 214
Joined: Mar 2008
Member No: 626,536



Thanks , much appreciated biggrin.gif
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: