thanks David. But as you pointed the gray box is in fact wider than the red one, which doesn't solve my application's problem.
Also, in my application, #a and #b may or may not be with a bigger height than their container. If they are smaller, both divs should still be dividing the container 50/50 and no scroll bar should be displayed (as FF does it).
Thanks for trying anyway, I really appreciated the effort.
User Profile
Collapse
-
IE scrollbars overlap content.
Hi guys,
I have a problem that seems to be around for quite some time, but I haven't seen a proper answer anywhere yet.
See the following :
...Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <body> <div id="container" style="overflow:auto;width:100px;height:100px;position:relative">
-
iframe width cannot be controled ?
hi guys,
I am trying to make some iframes fit into a div with variable width. The iframe must have a margin, and using a padding in the parent div element is not an option.
Unfortunately, the width:auto for iframe gives a preset width, and does not behave like for the div elements.
As a result, the iframe always seem to resize its container.
See the testcases below :
This...
No activity results to display
Show More
Leave a comment: