468,236 Members | 1,957 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,236 developers. It's quick & easy.

div tag with height in percentage

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.
Mar 5 '08 #1
1 3755
On 2008-03-05, Archana <tr**************@yahoo.comwrote:
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.
Mar 5 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Secret Guy | last post: by
8 posts views Thread by Vic | last post: by
3 posts views Thread by Les Juby | last post: by
18 posts views Thread by Francois du Toit | last post: by
22 posts views Thread by Les Juby | last post: by
6 posts views Thread by Martin Plotz | last post: by
6 posts views Thread by amandadev | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.