Percentage-proportioned Columns: 80%, 20%, 50%
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css" media="Screen">
* .sized {
table-layout: auto;
width: 700px;
}
* .p1 {
width: 20%;
background: pink;
}
* .p2 {
width: 80%;
background: gold;
}
* .p3 {
width: 50%;
background: red;
}
</style>
</head>
<body>
<table class="sized">
<tr>
<td class="p2">80%</td>
<td class="p1">20%</td>
<td class="p3">50%</td>
</tr>
</table>
</body>
</html>
Related examples in the same category