table properties

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Sticky
Posts: 44
Joined: Tue 30. Mar 2004, 04:27

table properties

Post by Sticky »

for my left side I have a table in there with heigth set to 100% and a colored left edge.
However when ever my main page area content is longer than the navigation menu is the left side does not completly extend to the bottom of the page . i.e. the left side height is only as long as the nav menu is.
How can I fix this?
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

Please post a url where we can see this problem. Also, just to clarify, are you referring to a table in a template or in an article?
Sticky
Posts: 44
Joined: Tue 30. Mar 2004, 04:27

Post by Sticky »

Here iswhat is going on.
Hope this image helps.
Image

TIA

Danny
Plauderer
Posts: 26
Joined: Tue 3. Aug 2004, 13:26

Post by Plauderer »

The height attribute in percentage was deleted in HTML v4.0! So as long as you use the DTD for HTML4.0 or XHTML this won't work.

A workaround would be to use HTML3.1 in your DTD!

Hope that helps,
Plauderer
evan
Posts: 31
Joined: Sun 28. Mar 2004, 22:57

Post by evan »

This is a shortcoming of CSS in general. There's no reliable way to make a block element always fill 100% of the document in all browsers. An incredibly simple workaround is to just make a background image of a line and put it on the body.
Sticky
Posts: 44
Joined: Tue 30. Mar 2004, 04:27

Post by Sticky »

Perfecto, Perfect, Great, Fantastic

Needless to say, it worked fine.
the simple things in life is what I miss most.

Sticky 8)
Post Reply