Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

IE8 formatting issues when accessing simple web page remotely

microsoft.public.internetexplorer.general






Speedup My PC
Reply
  #1 (permalink)  
Old 03-08-2010
CheekyAdmin
 

Posts: n/a
IE8 formatting issues when accessing simple web page remotely
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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<style>
body
{
font-family: Arial;
font-size:smaller;
padding:0; margin:0;
background-color: #f0f0f0;
}
</style>
</head>
<body>

<div style="padding:20px; background-color:Gray; margin:20px; border:1px
solid black;">
<h1 style="padding-top:20px;">Main Header</h1>
<h2>Test Header</h2>
<p>
Some text !
</p>
</div>
</body>
</html>
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-08-2010
rob^_^
 

Posts: n/a
Re: IE8 formatting issues when accessing simple web page remotely
Hi Admin,

Please post technical questions at the MSDN IE Web Development forum

http://social.msdn.microsoft.com/For...opment/threads

ensuring that you have validated your test case first. (w3c - one error
found, tidy reports 3 warnings that need to be corrected).

Also include your Windows and IE versions.

(Guess... one runs in protected mode, the other doesn't. Test by turning off
Protected Mode for your Windows/IE version. IE maintains sandboxed settings
in the registry for each mode... look for low registry in the registry. )
Another symptom may be that your IE Command buttons and Tools menu will be
different.
Also check that both uri's are in the same security zone. Commonly ppl may
add localhost or ComputerName to their Intranet zone sites list. This is
incorrect. You use the auto-detect option on the Intanet zone settings
dialog.

Regards.



"CheekyAdmin" <CheekyAdmin@discussions.microsoft.com> wrote in message
news:56417ABC-A6BF-4F8B-9130-D98C4F6B3FDD@microsoft.com...
> 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
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" >
> <head>
> <title>Untitled Page</title>
> <style>
> body
> {
> font-family: Arial;
> font-size:smaller;
> padding:0; margin:0;
> background-color: #f0f0f0;
> }
> </style>
> </head>
> <body>
>
> <div style="padding:20px; background-color:Gray; margin:20px; border:1px
> solid black;">
> <h1 style="padding-top:20px;">Main Header</h1>
> <h2>Test Header</h2>
> <p>
> Some text !
> </p>
> </div>
> </body>
> </html>


Reply With Quote
  #3 (permalink)  
Old 03-09-2010
CheekyAdmin
 

Posts: n/a
Re: IE8 formatting issues when accessing simple web page remotely
Hi Rob

Thanks for the reply.

I have updated the html so that it valdiates properly - this did not help.

I have restored my IE8 settings to their default settings and used the the
auto-detect option for the zones - this did not help.

The only thing I have not tried is turning off protected mode. The reason
for this is that every post I have found has told me to change this setting
by going to: Internet Options > Security tab > Select the appropriate zone>
Check/uncheck the “Enable Protected Mode” checkbox

However, there is NO reference to :Protected Mode" in any of the areas /
buttons that I click whilst in the security tab. From what I read it should
be there, but it's not?

I see you asked me to post this is another forum, and will do so.
Any help on the protected mode thing would be great though please as I would
like to rule that out as a cause too.



"rob^_^" wrote:

> Hi Admin,
>
> Please post technical questions at the MSDN IE Web Development forum
>
> http://social.msdn.microsoft.com/For...opment/threads
>
> ensuring that you have validated your test case first. (w3c - one error
> found, tidy reports 3 warnings that need to be corrected).
>
> Also include your Windows and IE versions.
>
> (Guess... one runs in protected mode, the other doesn't. Test by turning off
> Protected Mode for your Windows/IE version. IE maintains sandboxed settings
> in the registry for each mode... look for low registry in the registry. )
> Another symptom may be that your IE Command buttons and Tools menu will be
> different.
> Also check that both uri's are in the same security zone. Commonly ppl may
> add localhost or ComputerName to their Intranet zone sites list. This is
> incorrect. You use the auto-detect option on the Intanet zone settings
> dialog.
>
> Regards.
>
>
>
> "CheekyAdmin" <CheekyAdmin@discussions.microsoft.com> wrote in message
> news:56417ABC-A6BF-4F8B-9130-D98C4F6B3FDD@microsoft.com...
> > 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
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > <html xmlns="http://www.w3.org/1999/xhtml" >
> > <head>
> > <title>Untitled Page</title>
> > <style>
> > body
> > {
> > font-family: Arial;
> > font-size:smaller;
> > padding:0; margin:0;
> > background-color: #f0f0f0;
> > }
> > </style>
> > </head>
> > <body>
> >
> > <div style="padding:20px; background-color:Gray; margin:20px; border:1px
> > solid black;">
> > <h1 style="padding-top:20px;">Main Header</h1>
> > <h2>Test Header</h2>
> > <p>
> > Some text !
> > </p>
> > </div>
> > </body>
> > </html>

>

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing email remotely using my computer Amy microsoft.public.windows.vista.mail 1 02-13-2009 18:29
confused about remotely accessing email from windows mail Verso microsoft.public.windows.vista.mail 8 08-28-2008 00:45
Remotely accessing Video and Music using Media Center Roderic Dohleman microsoft.public.windows.vista.music pictures video 0 05-13-2008 23:49
Accessing Mail remotely Mike H microsoft.public.windows.vista.mail 2 03-01-2008 18:16
Accessing registory remotely rajendersaini@gmail.com microsoft.public.windows.vista.security 1 02-17-2007 18:10




All times are GMT +1. The time now is 06:35.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120