When a floating div contains a table having a width rule, the container div is sized (in width) as if the table had not any width rule.
Example:
the div is sized as if it contained the second table i.e. there is some pink showing on the right.
I am using Prince 6.0 rev 4 on windows Vista
Example:
<html>
<head>
<style>
table {
background-color: #cfc;
}
div table {
background-color: #ccf;
width: 100mm;
}
div {
background-color: #fcc;
float: left;
}
</style>
</head>
<body>
<div>
<table>
<tr>
<td>Some long text which will hopefully wrap on more than one line.</td>
</tr>
</table>
</div>
<table>
<tr>
<td>Some long text which will hopefully wrap on more than one line.</td>
</tr>
</table>
</body>
</html>
the div is sized as if it contained the second table i.e. there is some pink showing on the right.
I am using Prince 6.0 rev 4 on windows Vista