Why does the forms API use lists - ul, li - to style forms? It makes them much harder to control with CSS.
Why not something like this?
<style>
.field {
float: left;
width: 100%;
}
.inputfieldheader {
float: left;
width: 100%;
}
.input {
float: left;
}
</style>
<form>
<div class=field>...