display:table killing me in IE
        Posted  
        
            by subpixel
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by subpixel
        
        
        
        Published on 2010-05-17T23:37:57Z
        Indexed on 
            2010/05/17
            23:40 UTC
        
        
        Read the original article
        Hit count: 362
        
css-tables
I want to create horizontally-aligned table cells like the ones on this page.
I've followed the instructions, and I've even copied the css and markup verbatim, but no matter what I do IE 8 renders my table cells as blocks (stacked on top of each other instead of aligned next to each other).
css:
<style type="text/css">
body.TableStyles {
    display: inline-table;
    border-spacing: 4px;
}
div.maketable p {
    display: table-cell;
    width: 20%;
    background-color: #cdf;
    padding: 4px;
}
</style>
markup:
<body class="TableStyles">
<div class="maketable">
        <p>< prev</p>
        <p>next ></p>
</div>
</body>         
        © Stack Overflow or respective owner