HighDots Forums  

div tag with height in percentage

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss div tag with height in percentage in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Archana
 
Posts: n/a

Default div tag with height in percentage - 03-05-2008 , 05:04 AM






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.

Reply With Quote
  #2  
Old   
Ben C
 
Posts: n/a

Default Re: div tag with height in percentage - 03-05-2008 , 06:42 AM






On 2008-03-05, Archana <trialproduct2004 (AT) yahoo (DOT) com> wrote:
Quote:
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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.