Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape ignoring <TR> height when resizing

Status
Not open for further replies.

WebABen

Programmer
May 18, 2001
9
GB

Hi

I've got this to work in IE 5.5 but not NN (in this case it has to be 4.7). All the contents of the site are in one table with width/height set to 100%. The objective here is to get NO scrollbars regardless of screen res & the whole screen filled. There is a fairly complicated layout with lots of <table>'s, <tr>'s, <td>'s.

Anyhow - the top row has got logo's & links n'stuff and I really want it stay at height=79. Despite setting the <tr>, all its <td>'s and component img's to heigh=79 it insists on resizing the row as the screen res increases (only in NN).

I've tried various combinations with other rows & cells as there are others in the table that could be flexible and resize - but it doesn't seem to work.

So BASICALLY - anyone know a way - NN will respect the fixed heights of certain rows/cells, while allowing for expansion in other rows/cells/tables within this one overall table that has to be 100%.

Thanks

Ben



 
Try separating the top row into it's own table and setting the height of that table.
Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 

Thanks tsdragon - but i've tried that already - it doesn't work!

Trouble is the whole thing need to fit in the browser window at 100% with no scrolling from res's of 800*600 upwards. The top row has to be 79 pixels. So it can't be set as a percentage. If you sperate it into a table and the rest into another table its impossible to set a percentage where some of the screen starts to scroll at different res's or leaves white space.

 
You are probably stuck then. NN is notoriously bad about table formatting. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
WebABen: the height is always the minimum height.
Larger element increase the height. Could this be the
reason ? Better use heights 10, 20, ....80 .
I heard, this is safer. ----G.Hoffmann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top