Hello all,
I am trying my best to create a three column form using CSS but am
having no luck. It looks fine in Firefox but is mangled in IE. Here is
my best attempt:
<style type="text/css">
body{
font-family: arial;
}
input[type="checkbox"] {
margin-left: 1em;
margin-right: 1em;
margin-bottom: .5em;
width: 5%;
float: left;
clear: left;
}
label {
text-align: left;
margin-right: 0.5em;
margin-bottom: .5em;
width: 40%;
float: left;
}
input[type="text"] {
float: left;
margin-bottom: .5em;
}
</style>
<form action="/cgi-admin/subscribe.pl" method="post">
<fieldset>
<legend>Renewals</legend>
<div>
<input type="checkbox" name="itemmembership-1yr" value="yes"
id="itemmembership-1yr">
<label for="itemmembership-1yr">Standard Membership</label>
<input type="text" name="amtmembership-1yr" value="99.00"
readonly>
</div>
<div>
<input type="checkbox" name="itemstudent-1yr" value="yes"
id="itemstudent-1yr">
<label for="itemstudent-1yr">Student Membership</label>
<input type="text" name="amtstudent-1yr" value="49.00"
readonly>
</div>
</fieldset>
<input type="submit" name="op" value="Enter Payment" />
</form>
Pretty simple as you can see.
Can anyone tell me how to get a proper three column css form layout
that works in IE and Firefox? Everything I can find on the internets is
for two column layouts.
Thanks!
Derek Basch