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
> included example shows. With Mozilla the two boxes meet to make a
> corner, IE leaves a gap.
> Is there a way around this so I can get the same result on all modern
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.
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/