By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,766 Members | 1,265 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,766 IT Pros & Developers. It's quick & easy.

div tag with height in percentage

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.