PDA

View Full Version : Table hieght in Firefox and IE


Gary23
01-21-2007, 02:26 PM
If you look at my site here:
www.theambience.co.uk (http://www.theambience.co.uk)

You will see that the height of the two mini tables at the bottom is different in IE than in Firefox. Why is this?

Thanks,
Gary

bin
01-21-2007, 02:35 PM
Try using Css, here's a css layout tut:
Two_Column_Layout (http://www.theflashplace.com/tutorials/Two_Column_Layout)
Bin

Gary23
01-21-2007, 04:18 PM
Hi Bin,

Thanks for your suggestion. I am already aware of this alternative method, and may end up using it. But it's more out of curiosity that I want to know why the tables thing doesn't work. I don't like walking away from something having given up.

Cheers

koyama
01-21-2007, 05:52 PM
You have several places in your style sheet set percentage height for table cells. What is a percentage height supposed to mean for a table cell? It is not defined anywhere in the spec to my knowledge.

td.formcell {
height: 100%;
vertical-align: top;
text-align: right;
}

bin
01-21-2007, 07:00 PM
I don't know about the "height" but try this:

td.formcell {
height: 90px;
vertical-align: top;
text-align: right;
}
changing it to suite your needs, don't know if it will work,
Bin