C
CheekyAdmin
Guest
Hi
I am having a very strange issue with a basic HTML page in IE8.
When I run the page at: http://localhost/test.html the page content renders
fine, however, if I simply change the server name to my PC name (e.g.
http://mypcname/test.html), the layout (margins / font-sizes / padding)
renders larger and the two pages look different from eachother.
The page renders fine in Firefox 3.6 for both server names, but in IE8 the
problem arises.
Below is a simple page that illustrates the issue. If you run it with two
different server names (even though they are both on the same machine or one
is local and the other remote), you will see the problem.
e.g. "http://localhost/test.html" and "http://mypcname/test.html"
What I also noticed is if I take the html page and paste it somewhere on the
network and then double click the file and open it in IE8, it exhibits the
same behaviour. For example:
K:\temp\testRemote.htm displays LARGER text
If I double click the htm file on my local machine though, it appears
correctly, e.g.:
c:\temp\testRemote.htm displays CORRECTLY
Could there be some other security settings?
This is too wierd because I imagine this sort of issue would happen with
websites for everyone?
Why is this happening? How do I resolve it?
Thanks so much
Untitled Page
body
{
font-family: Arial;
font-size:smaller;
padding:0; margin:0;
background-color: #f0f0f0;
}
Main Header
Test Header
Some text !
I am having a very strange issue with a basic HTML page in IE8.
When I run the page at: http://localhost/test.html the page content renders
fine, however, if I simply change the server name to my PC name (e.g.
http://mypcname/test.html), the layout (margins / font-sizes / padding)
renders larger and the two pages look different from eachother.
The page renders fine in Firefox 3.6 for both server names, but in IE8 the
problem arises.
Below is a simple page that illustrates the issue. If you run it with two
different server names (even though they are both on the same machine or one
is local and the other remote), you will see the problem.
e.g. "http://localhost/test.html" and "http://mypcname/test.html"
What I also noticed is if I take the html page and paste it somewhere on the
network and then double click the file and open it in IE8, it exhibits the
same behaviour. For example:
K:\temp\testRemote.htm displays LARGER text
If I double click the htm file on my local machine though, it appears
correctly, e.g.:
c:\temp\testRemote.htm displays CORRECTLY
Could there be some other security settings?
This is too wierd because I imagine this sort of issue would happen with
websites for everyone?
Why is this happening? How do I resolve it?
Thanks so much
Untitled Page
body
{
font-family: Arial;
font-size:smaller;
padding:0; margin:0;
background-color: #f0f0f0;
}
Main Header
Test Header
Some text !