Actual table Vs. Div table

Posted by omfgroflmao on Stack Overflow See other posts from Stack Overflow or by omfgroflmao
Published on 2010-04-11T17:13:06Z Indexed on 2010/04/11 17:23 UTC
Read the original article Hit count: 491

Filed under:
|
|
|
|

This

<table>
    <tr>
        <td>Hello</td>
        <td>World</td>
    </tr>
</table>

Can be done with this:

<div>
    <div style="display: table-row;">
        <div style="display: table-cell;">Hello</div>
        <div style="display: table-cell;">World</div>
    </div>
</div>

Now, is there any difference between these two in terms of performance and/or render speed or they're just the same?

© Stack Overflow or respective owner

Related posts about html

Related posts about table