Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML PUBLIC "-//W#C//DTD HTML 4.01 Transitional//EN"↩
<html>↩
<head>↩
<title> fixed layout not triggered by changing width from auto to coordinate</title>↩
<script type="text/javascript">↩
function doTest(){↩
t1 = document.getElementById('target1');↩
t1.style.width="20px";↩
}↩
</script>↩
</head>↩
<body onload="doTest();">↩
<table border style="table-layout:fixed; width:400px" id="target1">↩
<tr><td>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</td></tr>↩
</table>↩
</body>↩
</html>↩