OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Netscape table woes
This page's ID:
10563
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I have a bad habit of using backslashes. Luckily, the site is currently running on my win2k workstation, and it doesn't care. I will correct that. I also have a bad habit of putting end tags on <img> tags (I use XML a lot, and habitually endtag everything). Browsers don't care, so I've gotten away with it ;) I originally had the height specs in the <td> tags, then tried the <tr> tags when the <td> ones didn't work. 100% for the height of the lower cell doesn't work. It seems to make the lower cell 100% of the height of [b]the browser[/b], so I get a vertical scrollbar and the table goes off the bottom of the page. I was able to make it look right at 1024x768 by using 23% for the top cell and 77% for the bottom one, but it doesn't work at any other resolution (since 23% of the client window height is only correct for a 120px tall image at that resolution). The table becomes too tall at lower browser sizes (vertical scrollbar again), and the top cell gets too tall at higher ones (text too far below the image). This is the latest html, that only works with a browser at nearly max size on a 1024x768 screen: <table width="100%" height="100%" border="2"> <tr valign="top"><td height="25%" align="center"> <img src="images/0001/banner.gif" width="500" height="120"></img> </td></tr> <tr valign="top"><td height="75%" align="center"> line one.<br> line twe. </td></tr> </table> Note that specifying hard percentages has broken the html for IE, which worked with 1%/99% (the top was forced larger by the image, and the lower was squashed to fit in the table). Using 1%/99% on Netscape forces the table to [i]image height[/i] + [i]99% of browser client window height[/i] and makes the page too tall (with a vertical scrollbar). [This message has been edited by Das (edited 05-08-2001).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »