Forum Moderators: not2easy
with tables this was easy, they always shrink to fit, but I'm really struggling to get this behaviour without using tables. can anyone help?
Test page below.
cEM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
body{
font: 70%/1.7 Tahoma, Verdana, sans-serif;
}
form{
float:left;
border: 2px solid #aaa;
padding:20px;
background:#369;
color:#fff;
text-align:right;
}
input{
width:100px;
border:1px solid #aaa;
}
</style>
</head>
<body>
<form>
<p><label>One: <input type="text" /></label></p>
<p><label>Two: <input type="text" /></label></p>
<p><label>Three: <input type="text" /></label></p>
<p><input type="submit" value="Enter" /></p>
</form>
</body>
</html>