#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2001
    Location
    Up in the clouds
    Posts
    100
    Rep Power
    14

    CSS Tables not Working in IE, new to CSS


    Hey,
    I have searched the site and haven't found anybody with the same problem as me. I have the following code (The style block is in the head, but I want to only show what's important):

    <style Type="text/css">
    div#table { display: table; }
    div#row { display: table-row; }
    div#cell { display: table-cell; }
    </Style>

    Body:

    <div id="table">
    <div id="row">
    <div id="cell">
    Text A
    </div>
    <div id="cell">
    Text B
    </div>
    </div>
    </div>

    In mozilla, NS, Opera, this code shows just fine, as a table with two cells side by side, but in IE it shows two rows, not cells. Any ideas? I did search, and didn't find the problem I'm having at all, infact I don't even see why this wouldn't work, it seems pretty cut and dry to me. Any help is appreciated!

    TIA!
    Mike.
  2. #2
  3. |<.+#f@#+.&.|
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2002
    Location
    norway
    Posts
    3,009
    Rep Power
    1224
    its just one of the dozen things that msie doesn't support, just get used to it
    Read this for a more complete list of css2 support in the diffrent browsers
    http://www.quirksmode.org/css/contents.html
    Last edited by Akh; January 10th, 2004 at 09:20 AM.

IMN logo majestic logo threadwatch logo seochat tools logo