GetDotted Domains

At GetDotted, a 1 year .co.uk, .uk, .me.uk or .org.uk registration is now just £1.95 ex VAT.

Search Domains Now

Viewing Thread:
"CSS question"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 03/08/04 at 17:23
Regular
"Eff, you see, kay?"
Posts: 14,156
Alright, I have styles defined for h2 and p, both which have different colors. The problem is, I want to make some h2's links, as well as some p's links. The thing is though, I want these links to remain the same colour (for all :visited, :active, :hover) as they're defined in their h2 { } and p { } delcarations. Problem is I can't stop my browser from changing the text colour. I could define a color in the a { } declaration, but then all my links would be the same colour, and I want the h2's and p's to be different colours.

My entire style definition is as follows:







Oh, just noticed one more problem. The border-bottom: 1px dashed; on the links appears to be being respected for h2 and p by mozilla, but only respected for h2 on IE - the normal text doesn't have a border. Can anyone shed any light on this? Eventually I want links to be defined by the colour of the dashed line beneath them.
Tue 03/08/04 at 17:49
Regular
"Eff, you see, kay?"
Posts: 14,156
You rock!

Doesn't work in IE though. Can anyone tell me what's wrong with this?

a {
color: inherit;
text-decoration: none;
border-bottom: 1px dashed;
border-color: #0000CC;
}

a:visited {
color: inherit;
border-color: #9900CC;
}

a:hover {
color: inherit;
border-color: #FF00FF;
}


Fine for Mozilla, but IE seems to almost completely ignore it. [URL] http://www.angelwarecomputers.co.uk/admin/quote.php [/URL] to see this in action. At the bottom.
Tue 03/08/04 at 17:46
Regular
"Wasting away"
Posts: 2,230
You suck!
Tue 03/08/04 at 17:37
Regular
"Eff, you see, kay?"
Posts: 14,156
By the way, this question has nothing (at all) to do with a:hover, and I know I can use classes, I just don't want to.
Tue 03/08/04 at 17:23
Regular
"Eff, you see, kay?"
Posts: 14,156
Alright, I have styles defined for h2 and p, both which have different colors. The problem is, I want to make some h2's links, as well as some p's links. The thing is though, I want these links to remain the same colour (for all :visited, :active, :hover) as they're defined in their h2 { } and p { } delcarations. Problem is I can't stop my browser from changing the text colour. I could define a color in the a { } declaration, but then all my links would be the same colour, and I want the h2's and p's to be different colours.

My entire style definition is as follows:







Oh, just noticed one more problem. The border-bottom: 1px dashed; on the links appears to be being respected for h2 and p by mozilla, but only respected for h2 on IE - the normal text doesn't have a border. Can anyone shed any light on this? Eventually I want links to be defined by the colour of the dashed line beneath them.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

The coolest ISP ever!
In my opinion, the ISP is the best I have ever used. They guarantee 'first time connection - everytime', which they have never let me down on.
Everybody thinks I am an IT genius...
Nothing but admiration. I have been complimented on the church site that I manage through you and everybody thinks I am an IT genius. Your support is unquestionably outstanding.
Brian

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.