PDA

View Full Version : HTML Using the * for dynamic height



Rabel
July 29th, 2008, 03:59 PM
I have a page that is using tables (please no comments about this - I
understand it should be css but fireworks created this template) I have
a menu down the left side and the bottom is supposed to be as tall as
needed to fill the page. This works fine in firefox but not in ie.
Here is a link to the page if you would like to see it

http://creativeness.com/temptest/storetemplate2.htm

I think the problem has to do with the <tr height="*"> - I was told that
the * means make it as big as it needs to be. How big it needs to be
then gets calculated from the main content. Any ideas how I can fix
this in IE, I really appreciate your help.

Also I have tried removing the height attribute from the <tr> and it works the same way (works in firefox but not ie).

Thanks,
Randy

Seuldieu
July 30th, 2008, 05:25 PM
I am no web genius here, but can't you use a % value instead of a the asterisk? In Dreamweaver, I recall being able to punch in 100% for table width/height. Sorry I couldn't be of more definitive help.

Rabel
July 30th, 2008, 05:43 PM
Hi Seuldieu,
thanks for your reply but I tried that and it doesn't work in either browser.

Seuldieu
July 30th, 2008, 08:34 PM
Right, I'm seeing exactly what you're talking about. The % works properly for the width, but for height -- it seems to not even be an option within Dreamweaver; forcing it in the code doesn't make it work either. I need the automatic height adjustment in my design as well...

crap!


Edit: Hey Rabel, check this out: http://apptools.com/examples/tableheight.php

Rabel
August 5th, 2008, 02:58 PM
Does anyone know of a css code I could plug in there to make work?

I tried this and same thing, it worked in firefox but not ie
<tr style="height:auto;">