I have wired problems in IE. While I'm browsing an asp.net mvc application that is being deployed locally, everything works as expected. Some annoying differences appear when I look at my system when it is deployed on different hosts.
In both cases, I use the same instance of IE that is installed locally on my main computer.
Suppose I defined a class in a css file:
.field-required:before { color: red; content: "*"; font-weight: bold; }
I also have a simple label that uses this class:
<label class="field-required" for="UserName"> Username </label>
When the system is deployed locally, this code is displayed as follows:
http: // localhost / system / page

The same code deployed on a remote server (named host2), accessible from the second tab of my IE browser, installed locally on my main computer, displays the following:
http: // host2 / system / page

Why is the red star not shown in the second case? As long as I use firefox, everything works as expected. Is there any security policy or something else enabled when accessing remote pages in IE that disables some features? Yesterday I had a problem with JSON that was not recognized when I was browsing my system remotely. Everything worked when the same system was deployed locally. But still I use the same instance of IE. So how is this the same browser what happens?
UPDATE
This is the whole source.
<!DOCTYPE html> <html> <head> <style> .field-required:before { color: red; content: "*"; font-weight: bold; } </style> </head> <body> <div><label class="field-required" for="UserName">Username</label></div> <div><input id="UserName" name="UserName" type="text" value="" /></div> </body> </html>
Caching is not a problem