NeoPuma
03-01-2008, 01:27 PM
Hey
I'm trying to create two divs next to each other for a form. I use the following 3 classes:
.field_set {
width: 640px
}
.field_name {
width: 150px;
float: left;
}
.field_box {
width: 640px;
}
The field set would group the name and the actual field together (if that makes sense).
To put these into action, I use the following code, which works fine in Firefox, but doesn't work in Internet Explorer.
<div class="field_set">
<div class="field_name">EMail Address: <span class="required">*</span></div>
<div class="field_box">
<input type="text" name="user_email" value="" size="50"/>
</div>
</div><br/>
In Firefox, the are next to each other, but in Internet Explorer, it seems to always want to put them underneath each other.
The live version can be seen here (http://babybloom.neopian.co.uk/?p=user&a=register)
If any one knows how to fix this IE problem, please help me!
Thanks
P.s. sorry for the newbie question, but this really isn't my strong point.
I'm trying to create two divs next to each other for a form. I use the following 3 classes:
.field_set {
width: 640px
}
.field_name {
width: 150px;
float: left;
}
.field_box {
width: 640px;
}
The field set would group the name and the actual field together (if that makes sense).
To put these into action, I use the following code, which works fine in Firefox, but doesn't work in Internet Explorer.
<div class="field_set">
<div class="field_name">EMail Address: <span class="required">*</span></div>
<div class="field_box">
<input type="text" name="user_email" value="" size="50"/>
</div>
</div><br/>
In Firefox, the are next to each other, but in Internet Explorer, it seems to always want to put them underneath each other.
The live version can be seen here (http://babybloom.neopian.co.uk/?p=user&a=register)
If any one knows how to fix this IE problem, please help me!
Thanks
P.s. sorry for the newbie question, but this really isn't my strong point.