Previous Message
Next Message

IE6 in standards compliant mode + iframes = extra 2 pixel 'padding'

Sent by Adrian Yee on 14 May 2005 02:02


I've been updating my wysiwyg editor to use standards compliant html. 
One of the things I've run into is that IE6 in standards compliant mode
is adding a 2 pixel 'padding' on the right and bottom between the CSS
border of the iframe and the contents of the iframe.  However, the extra
space dissappears when IE6 is in quirks mode.  Also every other browser
renders it correctly.  I've got a sample of the problem here:

Essentially, it's a page with a 300x300 (plus 1px border) iframe and in
that another iframe (doesn't make much sense as is, but it's because
everything else is stripped out).  It hasn't been stripped down as much
as it could, but it doesn't seem to make a difference.  I'm starting to
think there's nothing I can do about it since the space is between the
CSS border and the iframe contents itself (if you turn on the
frameborder, then it's between that).  Has anyone seen anything like
this problem before?  Thanks.

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread:

Possibly related: