Width: 100%, of course, is not an MS production. Understanding elements like box model and inline vs block (e.g. spans vs divs) will help you understand some of what you see. Differences in the browser are less related to "Width: 100%" than to how browsers interpret the window model for this element and, in particular, such as fields, borders and padding.AFAIK, all browsers will adhere to the width: 100% but how they interpret everything else can affect how much space they transmit as β100%β.
Remember that 100% is 100% of PARENT, not WINDOW.
<body> <div id = "one" style="width:50%"> <div id = "two" style = "width:100%" /> </div> </body>
In this case, βtwoβ will still be only 50% of the window width, because it is with the parent, whose width is 50%. (1 * .5 = .5)
So, saying that a specific example of incomprehensible behavior will greatly help people give you a specific answer.
Jim l
source share