Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- div tag with height in percentage
March 5, 2008, 11:04 am
rate this thread
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
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.
Re: div tag with height in percentage
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