homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

assigning 100% height for CSS divs
follow-up to older message

5+ Year Member

Msg#: 3262113 posted 10:23 pm on Feb 23, 2007 (gmt 0)

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.



10+ Year Member

Msg#: 3262113 posted 1:11 pm on Feb 24, 2007 (gmt 0)

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).

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved