here is my code...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
<html xmlns="
>
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
@import url( css/master.css );
</style>
</head>
<body>
<form id="form1" runat="server">
<div>
<fieldset class="fieldholder">
<ol>
<li>
<div class="fieldlabel">element1:</div>
some text
</li>
<li>
<div class="fieldlabel">element1</div>
some text
</li>
<li>
<div class="fieldrowholder">
<div class="formcolumn">
<div class="fieldlabel">one col:</div>
some text
</div>
<div class="formcolumn">
<div class="fieldlabel">another col:</div>
some text
</div>
</li>
</ol>
</fieldset>
</div>
</form>
</body>
</html>
my css
html, body {
height: 80%;
}
body
{
font-family : Tahoma, Arial, Helvetica, Verdana, MS serif;
color: #666666;
font-size: 0.75em;
margin: 0;
padding: 0 ;
background-color: #fff;
}
a:link {
font-family: Tahoma, Arial, Helvetica, Verdana, MS serif;
color: #666666;
text-decoration: underline
}
a:visited {
font-family: Tahoma, Arial, Helvetica, Verdana, MS serif;
color: #666666;
text-decoration: underline
}
a:hover {
font-family: Tahoma, Arial, Helvetica, Verdana, MS serif;
color: #666666;
text-decoration: none
}
p
{
font-weight: normal;
margin:0;
}
h1 {
font-size:1.4em;
line-height:1.2em;
font-weight:bold;
margin:0;
}
h2 {
font-size:1.2em;
font-weight:bold;
margin:0;
}
/*---------holders------------*/
.fieldholder {
padding: 4px 0 8px 0px;
margin:0 0 0 0;
border: none;
}
.fieldholder ol {
list-style-type:none;
border:none;
padding:0;
margin:0;
}
.fieldholder li {
margin: 10px 0 2px 0;
padding: 0 16px 0 16px;
border:none;
text-align: left;
}
.formcolumn
{
float:left ;
margin: 0 0 0 0px;
width: 400px
}
.formcolumnsmall
{
float:left ;
margin: 0 0 0 6px;
width: 300px;
}
.formcolumnxsmall
{
float:left ;
margin: 0 0 0 6px;
width: 250px
}
.formcolumnwide
{
float:left ;
width: 100%;
margin: 0 0 0 0px;
padding: 6px 0 0 0;
}
.fieldrowholder
{
width:100%;
}
.fieldlabel
{
font-weight:bold;
margin: 3px 0 0 0;
padding: 0 0 0 0;
float:left;
width: 100px;
}
basically when the page is maximises it looks ok, until the the IE window is shrank, then the 2nd col moves onto the next line..!