Necuno
Court Jester
- Joined
- Sep 27, 2005
- Messages
- 58,566
- Reaction score
- 3,437
I want to do this in IE7.
The table is a generated element in the div, but total width can be set to something larger than view area. I've used a dummy table with continuous x to simulate it. Now the problem is with IE7 that table-X is not supported and when using a float the second column wraps underneath the table. Only other option I can see is to drop the divs and just use table.
If you are wondering about the borders, it's just to show what the elements are up too
...or force users on IE7 to update to something better :twisted:
The table is a generated element in the div, but total width can be set to something larger than view area. I've used a dummy table with continuous x to simulate it. Now the problem is with IE7 that table-X is not supported and when using a float the second column wraps underneath the table. Only other option I can see is to drop the divs and just use table.
If you are wondering about the borders, it's just to show what the elements are up too
...or force users on IE7 to update to something better :twisted:
Code:
<!DOCTYPE>
<html>
<body>
<div style="border:thin solid blue;">
<div style="border:thin solid red;display: table-cell">
<table>
<tr>
<td>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</td>
</tr>
</table>
</div>
<div style="border:thin solid blue;display: table-cell">
[text]
</div>
</div>
</body>
</html>