100% table height not working in Opera??
I have a question regarding table height, I know there is probably an easy solution but I have not been able to find it. Would appreciate any help
I have a table with 2 rows, the top row is 650 px height and contains my .swf file, and the bottom row is empty but has a BG image applied.
I want this table to have a height of 100% so that the BG image in the bottom row will always stretch to the bottom of the browser window.
This is basically working in IE, Mozilla Netscape and Safari, but in Opera the bottom row is not visible.
I see no difference to your page either in Opera and Firefox.
Problems I can see...
- The DOCTYPE is missing
Also when validating the following (probably more relevant) error appears...
More info: http://validator.w3.org/check?verbos...qmagazine.com/
Error Line 10 column 28: there is no attribute "HEIGHT".
<table width="55%" height="100%" border="0" cellpadding="0" cellspacing="0" ba
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)