I decided to exclude tables from my web interfaces, but I suddenly had big CSS issues.
I hacked 960.gs a bit and made my own grid with only 8 columns, here it is:
.grid {
margin-left: auto;
margin-right: auto;
width: 960px;
}
.grid ._01,
.grid ._02,
.grid ._03,
.grid ._04,
.grid ._05,
.grid ._06,
.grid ._07,
.grid ._08 {
display: inline;
float: left;
margin: 10px;
position: relative;
}
.grid ._01 {
width: 100px;
}
.grid ._02 {
width: 220px;
}
.grid ._03 {
width: 340px;
}
.grid ._04 {
width: 460px;
}
.grid ._05 {
width: 580px;
}
.grid ._06 {
width: 700px;
}
.grid ._07 {
width: 820px;
}
.grid ._08 {
width: 940px;
}
.grid .clear {
clear: both;
display: block;
height: 0px;
overflow: hidden;
visibility: hidden;
width: 0px;
}
And here is the HTML:
<div class="grid">
<div class="_05">
<img src="../logo.png" alt="" width="450" height="60" vspace="50" />
</div>
<div class="_03" align="center">
<form id="form1" name="form1" method="post" action="">
<p>
<label>Email
<input type="text" name="textfield" id="textfield" style="margin-right: 0;" />
</label>
</p>
<p>
<label>Password
<input type="text" name="textfield2" id="textfield2" />
</label>
</p>
</form>
</div>
<div class="clear"></div>
<div class="_05">
<div class="box">
<h2>grid, _05, box, h2</h2>
<div class="content">grid, _05, box, content</div>
</div>
</div>
<div class="_03">
<div class="box green">
<h2>grid, _03, box, h2</h2>
<div class="content">
<p>grid</p>
<p>_03</p>
<p>box</p>
<p>content</p>
</div>
</div>
</div>
<div class="clear"></div>
<div class="_05">
<div class="box yellow">
<h2>grid, _05, box, h2</h2>
<div class="content">grid, _05, box, content</div>
</div>
</div>
<div class="_03">
<div class="box red">
<h2>grid, _03, box, h2</h2>
<div class="content">
<p>grid</p>
<p>_03</p>
<p>box</p>
<p>content</p>
</div>
</div>
</div>
<div class="clear"></div>
</div>
How can I do it...

More like this? Specifically, how can I change the position of the yellow box and the login form at the top?

Thanks in advance for your input!