I think due to the DOM scripting or something, there is a page when I change
to Standard Compliance Mode, the page's javascript/VBScript won't run. So I
am forced to use Quirks mode for that page.

The box I want is

<div style="margin-top:3px;width:300px;height:75px;border:1px solid black;
padding:4px;overflow:auto;">
[dynamic content]
</div>

so that final height is 85px in Standard Compliance Mode. It looks like if I
need to have that same box in Quirks mode and so that it works in IE, FF, or
virtually any broswer, I need 4 div instead. (this page is an UI page, and I
need to make it the same height as a textarea box which is floated to the
left and set to height:85px).

The 4 div's

<div style="margin-top:3px;width:300px;height:85px;padding:0;border:none">
<div style="border:1px solid black;margin:0;padding:0">
<div style="width:298px;height:83px;margin:0;border:none;padding:none;">
<div style="padding:4px;margin:0;border:none">
[dynamic content]
</div>
</div>
</div>
</div>

could that be right -- there needs to be 4 div's to make it work? Can it be
3 instead? Thanks very much!
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to