View Full Version : Table attribute
cg9com
11-17-2002, 08:21 AM
Hello,
I cant control a table height in xhtml10 strict.
Maybe im going about this the wrong way?
height:100%
whammy
11-17-2002, 03:31 PM
Hmm, I can't find it offhand but do a search of the forums, I believe jkd posted a solution to this.
html, body {
height: 100%;
}
.mytable {
height: 100%;
}
Then assign the main table a class of mytable.
cg9com
11-17-2002, 04:53 PM
oooooohhhh thanks alot!
thats intresting, why do you have to do that?
im really trying to make this page 100% valid in strict xhtml
how can i, through my css replace inside my <table> tag:
align="middle" valign="top"
MCookie
11-21-2002, 08:22 PM
> > oooooohhhh thanks alot!
> > thats intresting, why do you have to do that?
Because your browser needs to know the height of the containing block. '100%' means nothing if the size of the containing block is not specified.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.