GetDotted Domains

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:

My website looks tremendous!
Fantastic site, easy to follow, simple guides... impressed with whole package. My website looks tremendous. You don't need to be a rocket scientist to set this up, Freeola helps you step-by-step.
Susan
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

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.