Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display in IE

Status
Not open for further replies.

mistergrady

Technical User
Jun 27, 2007
8
CA
I built a very simple page with DW (just starting out). I set the linktext to display blue (#0033FF) and turn to red (#CC0033) for hover. It works fine in preview for both Ffox and IE. However, online in IE it displays black and hovers green.

Any help will be much appreciated. I've attached the CSS below for reference.

Thanks.

.toplinktext {
color: #0033FF;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
a:link {
text-decoration: none;
color: #0033FF;
}
a:visited {
text-decoration: none;
color: #0033FF;
}
a:hover {
text-decoration: underline;
color: #CC0033;
}
a:active {
text-decoration: none;
color: #0033FF;
}
.linkbackground {
background-color: #DDDDDD;
}
 
Try clearing your cache in IE (assuming that you are using an external css file).

Were those colors (black and green) ever used in a prior version?

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Traingamer:

Thanks for your reply.

I cleared the cache but the issue persists. It is not just on my pc (I have got other users to view in IE, and it displays black/green for them as well).

I have not used black/green in any prior versions (this was the first attempt).

Thanks.

 
Then I'm guessing that it may be a specificity problem.
Or a lack of doctype pushing IE into quirks mode.
Or maybe...

Post a link to the page (or to a simplified one that displays the problem) or post enough code that we can duplicate the problem.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
It doesn't appear to be either of my first thoughts (specificity or doctype). What is this?
Code:
<link href="../../RJAssociates/webstyles.css" rel="stylesheet" type="text/css" />

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Hi Greg:

That's it -- I pulled it out, and the site now displays properly in IE. Thank-you so much, I really appreciate you help.

As I get more into it, I've obviously got to learn the basics of the code, which I will do.

Regards,

Russell



 
You have some minor html table errors, but they weren't the cause. Glad you found it.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top