On my website, IE7 seems to be ignoring certain CSS attribute selectors. The strange thing is that it only happens when the page comes from the production server. If I have the
I just played around with the code on your personal server (eliasz.net), a file served through the file:// protocol, and served on a local server.
Your personal server and when rendered through the file:// protocol are both rendering correctly as they are rendered in 'edge' mode (the latest, rather than compatibility mode). However, on your production server and on your development server, they are rendering in compatibility mode. As BoltClock said, intranets do this by default. Obviously, this would apply for your development server (on a local IP like 10.1.10.34).
I think the production server is also on your local network, although it has a public static IP. In other words, when you are on the local network, the production server is served through the local network, not the internet. Hence, IE7 still sees it as an intranet site. Use nslookup
to check how IE7 is resolving the domain name.
To get round the issue, you can add this to your header:
and then turn off the setting in your IE that causes it to render intranet sites in compatibility mode.