You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
Supporters Pos Software - POS hardware and Software to track, control and manage your inventory. Web Templates - BoxedArt is the most reliable source for unlimited template downloads.
Why doesn't the table with id shouldBeTall have a height that is the
same as it's enclosing td? Firebug tells me that the table's height
is 25 pixels and the enclosing td's height is 300px. Do I need to
specify something different than "style=height: 100%;" ?
Re: table with height:100% doesn't take up all of parent's height? -
07-05-2007, 09:55 PM
On 2007-07-05, Jeff Bender wrote:
> http://people.virginia.edu/~kjl3d/testHeight.html
>
> Why doesn't the table with id shouldBeTall have a height that is the
> same as it's enclosing td? Firebug tells me that the table's height
> is 25 pixels and the enclosing td's height is 300px. Do I need to
> specify something different than "style=height: 100%;" ?
You've set a percentage height of an auto-height container which the
spec tells browsers to ignore.
Although in this case you'd think it wouldn't be so hard to see what you
mean, in general the height of a container with auto height often
depends on its contents. So to ask for the contents to be some
percentage of the container is a bit circular and non-sensical.