<!doctype html> | |
<title>Test for capping percentages</title> | |
<style> | |
div { width:300px; background:yellow; height:50px; } | |
table { width:150%; } | |
td { background:blue; } | |
</style> | |
<div> | |
<table cellspacing="0" cellpadding="0" border="0"> | |
<tr><td>parent div float=left</td></tr> | |
</table> | |
</div> |