Forum Moderators: open
¦----------------------------------¦
¦........................................¦
¦----------------------------------¦
¦........................................¦
¦........................................¦
¦........................................¦
¦........................................¦
¦----------------------------------¦
more or less....the problem is that in IE, the top row changes depending on what I have content wise in the second bigger cell. I have tried height="30" and in css height:30px; applying to that cell...but neither work.
FF obeys the height requirement but IE stretches it if the main cell has very few lines of text in.
workaround?
Controlling table cell height cross-browser can be a tough road. The W3C allows browsers and other user agents a lot of leeway in their rendering of tables. (See [w3.org...] )
This is as it should be, since otherwise different parts of the mark-up could give mutually conflicting/contradicatory rules and lock up the rendering engine.
So it's mostly an experimental game, I think. From your comments, it sounds like you may also have some rules that are trying to make the table fill the window - is this the case?
I have added a couple of line breaks to the main content cell on pages where there wasn't much text to fill it...that seems to have solved the problem.
I don't get why the height="x" is ignored where the width command seems to be fine.