The Second <div> element , which has a height attribute set to 75% , doesn't work. ( the layer is only one row height )
But then, if I add an height attribute to the <form> element , as follows ,
<form name="frmMain" style="height: 100%">
then it works fine. ( the layer fills most of the screen )
Then you're using an old Mozilla build.
Per standards, the height of the div should be 75% of the parent. The parent is the form; the form's height is "auto". 75% of auto is auto. So the div should be auto-height.
In quirks mode, we break that and make the div 75% of the <body> (in current builds; in older builds that didn't quite work).
Question is : must the <form> object have an height attribute
No; it just needs to have a non-auto height.
I didn't know the <form> objects could have height attributes !
They don't, in HTML. You're applying the "height" CSS _property_ to it, which is a different matter entirely -- that property can be applied to any DOM node (though depending on the value of "display" it may be ignored).
-Boris _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
