Saturday, 17 August 2013

Table-cell in IE6/IE7 without javascript

Table-cell in IE6/IE7 without javascript

Following the code:
<div style="display: table; width: 100%; height: 300px; background:
lightblue;">
<div style="display: table-cell; width: 30px; background:
lightcoral;">A</div>
<div style="display: table-cell; background: wheat;">B</div>
</div>
How to make it work with only css in IE6/IE7?

No comments:

Post a Comment