6 replies [Last post]
bubblelyon
Offline
newbie
Last seen: 12 years 15 weeks ago
Joined: 2007-08-22
Posts: 10
Points: 0

I know that you can set up a specific link color for a class that is different to the global link color, but how do you set one up for the H1, H2, H3 etc. tags?

bpops
Offline
newbie
Last seen: 11 years 12 weeks ago
Timezone: GMT-4
Joined: 2007-08-23
Posts: 8
Points: 0

bubble, I'm still new to

bubble,

I'm still new to this like you, but I believe what you're looking for is

h1 a { color: #...; }

bubblelyon
Offline
newbie
Last seen: 12 years 15 weeks ago
Joined: 2007-08-22
Posts: 10
Points: 0

Thanks bpops

Hey bpops, I tried that and it does not seem to work for me, thanks though, its got to be something simple like that for sure!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 48 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

You need then to show us the

You need then to show us the markup and css styles you are trying to work with.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

bpops
Offline
newbie
Last seen: 11 years 12 weeks ago
Timezone: GMT-4
Joined: 2007-08-23
Posts: 8
Points: 0

Really? Works for

Really? Works for me..
here's a test page I was working on for myself. See the bottom "Testing link" is h2, and link is h2 a. Click the link on the page for the stylesheet.

http://www.b-pops.com/example

Do you have a link to your page?

bubblelyon
Offline
newbie
Last seen: 12 years 15 weeks ago
Joined: 2007-08-22
Posts: 10
Points: 0

a:visited!

Ah, sorry guys, I only set up the h1 a:link style and no h1 a:visited so it was defaulting to the global visited style and did not look like it was working! Thanks all!

bpops
Offline
newbie
Last seen: 11 years 12 weeks ago
Timezone: GMT-4
Joined: 2007-08-23
Posts: 8
Points: 0

Ah glad you figured it out

Ah Smile glad you figured it out