On Jul 10, 2008, at 5:49 AM, Karl Bedingfield wrote:

> I've run into another problem. I wondered why my main #content
> displays correct in IE7 but the #content is wider in FF2/3.
>
> I have tried different variations of the code but when I fix one the
> other displays incorrectly.
>
> Can anyone see what I am doing wrong? I also wondered why my image box
> borders collapse in IE also.
>
> Here is a link to a test page: http://www.eilig.co.uk/test/

There is an html comment before the DocType. That puts IE 7 in  
QuirksMode [1]. In that case, IE uses the incorrect handling of  
'width' (the padding is included in the width); other browsers make  
you 2 columns wider: used width = width + padding-left + padding-right.

rm that comment and you should level of the browsers.


[1] http://www.satzansatz.de/cssd/quirksmode.html
Philippe
---
Philippe Wittenbergh
http://l-c-n.com/





______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to