Forum Moderators: not2easy

Message Too Old, No Replies

xhtml td height does not work in Explorer 7

xhtml td height does not work in Explorer 7

         

jorgenvester

10:33 pm on Feb 24, 2007 (gmt 0)

10+ Year Member



Well. That does it. I am very tired of xhtml and css at this moment.

I have worked professionally with the internet for around 10 years and made a lot of websites with dynamic content.

I want very much to follow the standards but how is it possible if it is still like the wild west and even very banal layout requirements need so much time. I have made several systems with very complicated data handling and big databases and at the moment I use much more time on handling layout than I use on the handling data and complicated business processes.

I now have a project where I need a layout with a header with fixed size, a content area with 3 columns that stretches with the content and a footer with a fixed size. The whole thing together must always fill out the browser window. With an old HTML layout with tables this was a very banal and ordinary task. Now I use xhtml and have realized that I need to use tables to fullfill my requirements. Because the box model is so primitive that there is no parallel to the old *-possibility in tables. I have created a layout that works in Firefox and Opera and does not work in IE 7 because the browser does not respect the height-property I set for the td in the toprow when there is no content in the middle row. The layout is very simple: a html, body with height and width set = 100%, a table for containing all the page, a td with centered content to make left and right colums/margins, a content table with three rows for a topbar, a contentbar, and a bottombar.

I hope that somebody out there is able to help me.

alias

10:10 am on Feb 26, 2007 (gmt 0)

10+ Year Member



without further ado - use a table for the main container. that's it. I personally doubt it's worth it doing it all in xhtml/css - well at least not yet. maybe sometime in the future..