When you say 'locally', do you mean that you have something like
'file:///C:/...' or 'C:\...' in the address bar of the browser? If so,
I would say that that is the problem - I think it's a case of 'Microsoft
knows best', with IE paying no attention to the doc type (Windows: "it's
just HTML, after all").
If, on the other hand, you mean that you are serving the page from a web
server on your local machine, then I'm stumped....
> Bryce -
> I am using the same doc type, as I copied the code exactly.
> My problem is that this exact same code is rendered
> differently in IE when requested locally than it is when
> requested from the site (Firefox renders both the same). I
> just cannot figure out why this might be.
> Cheers -
> On Thu, 10 Mar 2005 15:44:08 -0500, George Smyth
> > I am confused. When I look at the two-column code at
> > http://realworldstyle.com/2col.html I note that it works
> similarly for
> > IE and Firefox. However, when I copy the code and run the
> exact same
> > code locally, IE displays differently, in that the left 220 pixel
> > is about 10 pixels narrower (Firefox displays the same).
> > Would anyone have an idea why this would be so? I cannot
> think of a
> > reason for this happening.
> Going out on a limb here since I can't look at your code, but
> the Real World example has a strict XHTML doctype, which
> triggers strict mode rendering in IE6 and Firefox. What
> doctype are you using? Could make all the difference in the
> world in how the broswers render the page.
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/