Click here to get back home

div tag with height in percentage

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
div tag with height in percentage Archana 03-05-2008
Get Chitika Premium
Posted by Archana on March 5, 2008, 6:04 am
Please log in for more thread options
hi all,

i am having one aspx page in wich i have 3 rows in table. first row
has height 10% second has 70% and thrid has 20%
in second row i am having another table which i have added in div tag
as this table has large content and i want to provide scorllbar for
navigation.

when i use div tag with height as 100% its not working. i don't want
to set height in pixel.

what i need to do.

please help me asap.

thanks in advance.

Posted by Ben C on March 5, 2008, 7:42 am
Please log in for more thread options
> hi all,
>
> i am having one aspx page in wich i have 3 rows in table. first row
> has height 10% second has 70% and thrid has 20%
> in second row i am having another table which i have added in div tag
> as this table has large content and i want to provide scorllbar for
> navigation.
>
> when i use div tag with height as 100% its not working. i don't want
> to set height in pixel.
>
> what i need to do.

Percentage heights of auto-height containers are ignored.

Absolute positioning won't work either as Firefox for one doesn't allow
a table cell to be the containing block for positioned descendents.

So there's not much you can do unfortunately, except try to think of
some kind of compromise or a way to give yourself a less general problem
to solve.

Similar ThreadsPosted
table percentage problem August 20, 2004, 10:11 am
Make textboxs height = the height of the cell it's in minus (n)px August 6, 2004, 6:37 am
Adjust height base on the the height of the browser window. October 20, 2006, 4:23 pm
max height for tr? May 15, 2006, 1:48 pm
CSS design and 100% height September 16, 2004, 2:30 am
there is no attribute "HEIGHT" November 10, 2004, 6:27 pm
div tag height minimum in IE May 14, 2005, 11:33 am
Doing without table height January 6, 2005, 4:38 pm
simple height 20% February 6, 2006, 3:07 pm
Problems with min-height November 15, 2006, 3:38 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap