Hi everyone,
I readed some articles on the web on how to display DIV elements in a table format. All these articles said the same thing, that this code should display a table with a single line and 3 columns because display:table = <table>,
display:table-row = <tr>, and display:table-cell = <td>.
But when i test it, it doesn't work, even the example in these articles is not working, and i use IE 6.0
Someone can tell me what's wrong ?
I readed some articles on the web on how to display DIV elements in a table format. All these articles said the same thing, that this code should display a table with a single line and 3 columns because display:table = <table>,
display:table-row = <tr>, and display:table-cell = <td>.
Code:
<div style="display: table">
<div style="display: table-row">
<div style="display: table-cell">1</div>
<div style="display: table-cell">2</div>
<div style="display: table-cell">3</div>
</div>
</div>
But when i test it, it doesn't work, even the example in these articles is not working, and i use IE 6.0
Someone can tell me what's wrong ?