Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

assigning 100% height for CSS divs

follow-up to older message



10:23 pm on Feb 23, 2007 (gmt 0)

5+ Year Member

I am having difficulty, even after reading an older article on this subject.

I have divs set in table cells within rows 2 to 6 of a 7 row table. The row heights are specifed in the table specs within the external css - 16% for the top row and 14% for the other rows. In IE I set the div height to 100% (within the css) and what I believe to be the parent (the table row) restricts the height of the div to within the height of the row. This does not work in Mozilla or in Opera. It may be that I do not have a proper understanding of the concept of "parent defined height".

This is my first time posting and I am not sure whether it is appropriate to provide a URL to demonstrate the issue.


1:11 pm on Feb 24, 2007 (gmt 0)

10+ Year Member

Welcome to WebmasterWorld, Puzzler.

Think over the problem first and consider if you really need to use divs in table cells. It happens that the solution ciuld be simpler.

You can sticky the url, of course (you're right - publishing is prohibited by tos).


Featured Threads

Hot Threads This Week

Hot Threads This Month