... 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. ...
http://devrandom.com/test/iframes/editor.html
uh, nested iframes, contenteditable=true, IE6, script pop-ups, hmm, did you say you cannot omit that? ;)
I just don't fully understand this construction, so the following is widely hypothetical.
... the space is between the
CSS border and the iframe contents itself
Funny is the white gap you encountered is related to the border-width:
#editor_iframe { border: 1px solid black; ... shows a 2px gap
#editor_iframe { border: 5px solid black; ... shows a 10px gap
#editor_iframe { border-right: 3px solid black; ... shows a 3px gap;So, I think that the iframe is expanded by it's own bounding-box-width (?!) due to the fact that
#editor_iframe { ... overflow:scroll} shows
- 2 scrollbars
- gaps at the /outer/ side of the scrollbarsSo, yes, the gap occurs /between/ the border of the element and its own scrollbars, as you noted. (I suggest naming it "iframe bootstrap gap" and classify it near the "Three Pixel Text Jog").
Has anyone seen anything like this problem before? Thanks.
Never.
There seems to be a fix:
#editor_iframe { border: 1px solid black; width: 300px; height: 300px; overflow:hidden; }
baffled, Ingo ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
