> On 16 May 2008, at 16:08, Lee Bettridge wrote:
>
>> Hello all,
>> I have an issue with the box model difference between IE and Mozilla. On 
>> Mozilla the
>> padding is added to the width and in IE it is not, as the
>> included example shows. With Mozilla the two boxes meet to make a flush 
>> corner, IE
>> leaves a gap.
>>
[...]

On Fri, 16 May 2008 16:41:41 +0100, Rick Lecoat replied:

 > Lee, the most reliable way I've found is to simply avoid setting left/ right 
 > padding on
> any element with a declared width. Instead, set left/ right margins on the 
> elements
> contained within.
>
> As others have said, get the page into Standards mode if you can, with a 
> fully formed
> doctype.
>

I agree with Rick here. While a suitable DOCTYPE will put IE 6 and 7
into so-called standards mode, if your visitor comes from Google's
cached version of your page they will see it in "quirks mode" anyway.

Possibly one reason that Georg regularly uses the XML declaration
to trigger quirks mode at all times. (?)

Cordially,
David
--


______________________________________________________________________
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