kennyaidan
Programmer
Hey Guys,
I have built a simple form for the "Contact Us" page of my website. From a technical perspective it works in both IE and Firefox i.e. it sends the submission onto the relevent email address.
It also looks fine in Firefox but there are two look and feel issues with IE:
1. When you first load the page in IE, the layout in terms of spacing looks fine. However when you hover over one of the links on the left hand side, the form's position on the page just drops for no apparent reason and it widens.
2. Secondly at the top of the form, the background colour comes over the top and is not in sync with the rest of the form.
Both of these issues do not occur in Firefox.
Here is the URL for the page in question:
Here is my stylesheet and form code:
<p>
<form id="m4moduleform_2" method="post" action="index.php" enctype="multipart/form-data"><div class="hidden"><input type="hidden" name="mact" value="FormBuilder,m4,default,0" /><input type="hidden" name="m4returnid" value="52" /></div>
<input type="hidden" name="m4form_id" value="1" />
<input type="hidden" name="m4fbrp_continue" value="2" />
<input type="hidden" name="m4fbrp_done" value="1" />
<div class="contactform">
<div><style type="text/css">
.contactform fieldset {padding: 1em; background-color: #eee;}
.contactform fieldset legend {font-weight: bold;}
.contactform div {width: 100%; padding: 0.25em 0 0.25em 0;}
.contactform div label {display: block; width: 10em; }
.contactform div.required {color: #f00;}
</style></div>
<fieldset><legend>Contact</legend>
<div><label for="m4fbrp__4">Your Name</label><input type="text" name="m4fbrp__4" id="m4fbrp__4" value="" size="25" maxlength="128" />
</div>
<div><label for="m4fbrp__5">Your Email Address</label><input type="text" name="m4fbrp__5" id="m4fbrp__5" value="" size="25" maxlength="128" />
</div>
<div><label for="m4fbrp__6">Subject</label><input type="text" name="m4fbrp__6" id="m4fbrp__6" value="" size="25" maxlength="128" />
</div>
<div class="required"><label for="m4fbrp__7">Message*</label><textarea name="m4fbrp__7" cols="30" rows="5" id="m4fbrp__7"></textarea></div>
</fieldset>
<div class="submit"><input name="m4fbrp_submit" value="Submit Form" type="submit" class="fbsubmit" id="fbsubmit" />
</div>
</div>
</form>
</p>
Does anyone know any fixes for this bug in IE? Is there code I can add to the stylesheet maybe setting the postion on the table to a certain place on the page?
Thanks
Aidan
I have built a simple form for the "Contact Us" page of my website. From a technical perspective it works in both IE and Firefox i.e. it sends the submission onto the relevent email address.
It also looks fine in Firefox but there are two look and feel issues with IE:
1. When you first load the page in IE, the layout in terms of spacing looks fine. However when you hover over one of the links on the left hand side, the form's position on the page just drops for no apparent reason and it widens.
2. Secondly at the top of the form, the background colour comes over the top and is not in sync with the rest of the form.
Both of these issues do not occur in Firefox.
Here is the URL for the page in question:
Here is my stylesheet and form code:
<p>
<form id="m4moduleform_2" method="post" action="index.php" enctype="multipart/form-data"><div class="hidden"><input type="hidden" name="mact" value="FormBuilder,m4,default,0" /><input type="hidden" name="m4returnid" value="52" /></div>
<input type="hidden" name="m4form_id" value="1" />
<input type="hidden" name="m4fbrp_continue" value="2" />
<input type="hidden" name="m4fbrp_done" value="1" />
<div class="contactform">
<div><style type="text/css">
.contactform fieldset {padding: 1em; background-color: #eee;}
.contactform fieldset legend {font-weight: bold;}
.contactform div {width: 100%; padding: 0.25em 0 0.25em 0;}
.contactform div label {display: block; width: 10em; }
.contactform div.required {color: #f00;}
</style></div>
<fieldset><legend>Contact</legend>
<div><label for="m4fbrp__4">Your Name</label><input type="text" name="m4fbrp__4" id="m4fbrp__4" value="" size="25" maxlength="128" />
</div>
<div><label for="m4fbrp__5">Your Email Address</label><input type="text" name="m4fbrp__5" id="m4fbrp__5" value="" size="25" maxlength="128" />
</div>
<div><label for="m4fbrp__6">Subject</label><input type="text" name="m4fbrp__6" id="m4fbrp__6" value="" size="25" maxlength="128" />
</div>
<div class="required"><label for="m4fbrp__7">Message*</label><textarea name="m4fbrp__7" cols="30" rows="5" id="m4fbrp__7"></textarea></div>
</fieldset>
<div class="submit"><input name="m4fbrp_submit" value="Submit Form" type="submit" class="fbsubmit" id="fbsubmit" />
</div>
</div>
</form>
</p>
Does anyone know any fixes for this bug in IE? Is there code I can add to the stylesheet maybe setting the postion on the table to a certain place on the page?
Thanks
Aidan