Version: (using KDE KDE 3.5.5) Installed from: Debian testing/unstable Packages OS: Linux A <div style="overflow: auto;width:100%">...</div> is expected to be as width as the sourrounding element (100%) and show scrollbars, if the elements inside are larger. In Konqueror however this div has the size of the inside elements if they are larger, overlapping the other content. http://www.w3.org/TR/CSS21/visudet.html#the-width-property http://www.w3.org/TR/CSS1#width Firefox/Mozilla and Opera handle this tag correct, Safari, Konqueror and IE don't. A workaround is to set the width in pixel instead of percent, but it would be great if "width=100%" worked, too.
It's hard to discuss a problem without a proper testcase. E.g. what you describe is something like: <div style="width:200px"> <div style="overflow:auto;width:100%;height:50px;border:1px blue solid"> <div style="width:500px;height:48px;border:1px solid red"> which renders all fine for me...
On Monday 15 January 2007 16:12, Germain Garand wrote: > E.g. what you describe is something like: > > <div style="width:200px"> > <div style="overflow:auto;width:100%;height:50px;border:1px blue > solid"> <div style="width:500px;height:48px;border:1px solid red"> > > which renders all fine for me... Hello, thank you for your quick answer. You are right, it works with <div> as sourrounding element. However, if there is a table around it instead, its width will be ignored: <table width="300" border="1"><tr><td> <div style="overflow:auto;width:100%;height:200px;border:1px"> <img src="xyz.jpg" width="1000" height="300"> </div> </td></tr></table> Regards, Oliver
Created attachment 19296 [details] attaching testcase for convenience
confirmed.
I can still confirm this bug in 3.5.9 and trunk r798768.
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.