Jump to content


multiple linkstyles


2 replies to this topic

#1 omle

    Young Padawan

  • Members
  • Pip
  • 24 posts

Posted 26 October 2006 - 05:03 AM

i got a issue when i make 1 link its the same style for every link on the page. how to i make multiple useing CSS stylesheet.

sorry im but of a nub:)

Edited by omle, 26 October 2006 - 05:03 AM.


#2 omle

    Young Padawan

  • Members
  • Pip
  • 24 posts

Posted 27 October 2006 - 01:21 AM

View Post. Adam ., on Oct 26 2006, 10:17 AM, said:

Really simple,

Just create a style something like the following:

.linkstylename a {
color:#000000; /* A black link */
text-decoration:none; /* No underline etc */
}

.linkstylename a:hover { /* on hover of the link */
text-decoration:underline; /* underline */
}

Then to simple use it just do:

<a class='linkstylename' href='http://www.pixel2life.com/'>Pixel2life</a>

Simple aye? :)

- Adam :)

very simple:) thx. people on P2l are so helpful:)

#3 omle

    Young Padawan

  • Members
  • Pip
  • 24 posts

Posted 28 October 2006 - 11:12 AM

^.^ why arent u a Moderator ;) so helpful.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users