I’m working on a company page which, due to various decisions, is IE only. I’ve been developing the site using inline code, and then to migrate the code over the cross-page CSS and JS files.
I’ve got some VERY basic CSS that doesn’t seem to want to do this, and i have no idea why! Currently i have these 3 classes in an inline CSS block:
[CODE]
<style type=”text/css”>
/* Standard colours for statuses */
.approved {
color: green;
}
.unknown {
color: orange;
}
.declined {
color: red;
}
</style>
Very basic stuff, but on moving this to the global stylesheet and replacing with:
<link rel=”stylesheet” type=”text/css” href=”expenses.css” />
Suddenly all nicely coloured text blocks turn back to their default black! Why on earth does IE7 do this, and is this is a known bug with a known workaround?
The weird thing is that several styles from the included stylesheet are making it through, as you can clearly see page margins changing (as defined in the CSS).