heres my prob..

lets say... i want a table cell on the exact middle of the page (vertically speaking)...

so... i make a table... 3 rows, 1 column... set the heigth at 100%, width at 100%...

with these settings...id expect the whole table to expand vertically and horizontally...making the 2nd row to be in the middle of the page...

when i make the settings... i see it expand vertically and horizontally in dreamweaver...

but when iview it in ie... it expands horizontally..but not vertically...

the table sits on the top of the page...expanded horizontally...but not vertically... in other words... i get a wide, and very short table...

i figure this is an ie issue.... and am willing to do other little things or tricks to work around it.....but odnt know the little tricks...

can anybody help me out here?

thanks abunch..
-ron

    8 days later

    To get the table to stretch to the complete height of body, you must specify the following CSS rule in your CSS file:

    html, body {
    height: 100%;
    }
    

    That should make it stretch 🙂

      21 days later

      You may also want to specify:

      body {margin:0;}

      Oh, and another thing. I have never heard of a table 100% x 100% not working in IE. It is NOT an IE thing, however, Mozilla browsers don't always accept the 100% height declaration. 🙂

        its in the DOC TYPE declaration
        dont declare doc type and you dont have a problem in mozilla displaying 100%

          kender wrote:

          its in the DOC TYPE declaration
          dont declare doc type and you dont have a problem in mozilla displaying 100%

          Now I have never heard that before, Kender, but I will definitely give it a try. Thanks.

            6 days later

            Reason for it can be found here. Basically, by leaving out the DOCTYPE specifying the standard your page is written to, you're insisting that you want buggy behaviour.

              Write a Reply...