Click to See Complete Forum and Search --> : Variable Sizes...
stmasi
06-24-2003, 12:22 PM
Working with CSS to create a bordered box, which is a DIV.
Is there any way to "automatically" size the box according to the size of the "viewable" area of the user agent without using JavaScript or SS code?
Thanx.
DaveSW
06-24-2003, 12:53 PM
like percentages??
stmasi
06-24-2003, 04:26 PM
Sort of.
However, when I use percentages, in some user agents, scroll bars are added...even when they're not needed.
I guess I just need to be able to occupy the entire "viewable" area of the user agent window, without activating any scroll bars.
Is that possible?
Thanx.
David Harrison
06-24-2003, 05:12 PM
I tried to contert a big table to CSS and it did cut the code right down, however I couldn't make the height of the div tag that everything was in 100% of the screen height, I think that you'll have to settle for 100% width but only the height of the contents, unless there's a hack.