homepage Welcome to WebmasterWorld Guest from 54.161.214.221
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
Puzzler




msg:3262115
 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.

 

Moby_Dim




msg:3262610
 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