On 2008/05/16 16:08 (GMT+0100) Lee Bettridge apparently typed:

> 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.

> Is there a way around this so I can get the same result on all modern
> browsers?

> <html>
> <head>
> <title>box model test</title>

Lack of a doctype puts the browsers in quirks rendering mode, which causes IE
to use its native non-standard box model. Give IE a modern doctype to make it
conform much better to the standards box model.
http://css-discuss.incutio.com/?page=DoctypeSwitch
-- 
". . . . in everything, do to others what you would
have them do to you . . . ."       Matthew 7:12 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.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