Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Hyperlink stylesheets
Old 04-15-2008, 04:27 PM Hyperlink stylesheets
dave9713's Avatar
Ultra Talker

Posts: 264
Name: David
Location: London
Trades: 2
Hi

I have a page from which I want 2 different styles for the hyperlinks, I have a main stylesheet however i want a few of the links to appear differently to this.

Is there something I can place in which allows me to over ride the page stylesheet and use a new one for a certain few links?

Thanks for any help given

Dave
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

dave9713 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-15-2008, 04:31 PM Re: Hyperlink stylesheets
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
ummmm.... write a separate class for the links you want styled differently? There is no need to have a separate stylesheet just for a few links... Am I missing the point of what you are trying to do?
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 04-15-2008, 04:34 PM Re: Hyperlink stylesheets
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
you can do this in the SAME stylesheet.

Code:
a {whatever}

a:hover {whatever}

a.newstyle {something else}

a.newstyle:hover {something else}
Then for that new link style...add this to your link

Code:
<a href="#" class="newstyle">Everyone loves Gilligan :-)</a>
ps, anyone like my subliminal message
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 04-15-2008, 04:35 PM Re: Hyperlink stylesheets
dave9713's Avatar
Ultra Talker

Posts: 264
Name: David
Location: London
Trades: 2
Thanks a lot wayfere and Gilligan i am going to give that a try now...

And no what subliminal message? :P
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by dave9713; 04-15-2008 at 04:36 PM..
dave9713 is offline
Reply With Quote
View Public Profile
 
Old 04-15-2008, 04:38 PM Re: Hyperlink stylesheets
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
See Gilligans explanation, he nailed it.
__________________
Join me on
Please login or register to view this content. Registration is FREE
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 04-15-2008, 07:32 PM Re: Hyperlink stylesheets
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Quote:
Originally Posted by dave9713 View Post
Thanks a lot wayfere and Gilligan i am going to give that a try now...

And no what subliminal message? :P
Look what's inside that <a> tags
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Old 04-16-2008, 05:06 AM Re: Hyperlink stylesheets
dave9713's Avatar
Ultra Talker

Posts: 264
Name: David
Location: London
Trades: 2
I know I was playing stupid, I kind of noticed when it appeared on my site

Thanks again...

Dav
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

dave9713 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Hyperlink stylesheets
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24088 seconds with 12 queries