Log in

View Full Version : Can someone please help :)



nickadocker
09-11-2006, 05:12 AM
Hi everyone!

As soon as I close a form tag I’m working on by typing: </form>, a gap suddenly appears underneath the table that the <form> code is in. This is only happening in Internet Explorer, but it’s screwing up my whole layout of my website. Why is this happening? How do I get rid of that stupid gap? It works perfect in Firefox, but in IE it acts retarded! Any advice would be extremely great because I’m stumped!

Thanks!

codeexploiter
09-11-2006, 07:12 AM
Can you provide the HTML code here, so that we get a good idea

mwinter
09-11-2006, 10:44 AM
As soon as I close a form tag

And a form does require a closing tag.



I’m working on by typing: </form>, a gap suddenly appears underneath the table that the <form> code is in.

There's a margin somewhere, either on the form itself or the following element. You can use CSS to remove it once you've identified it.



This is only happening in Internet Explorer, but it’s screwing up my whole layout of my website.

That sounds like a fragile layout, then. How does it respond to larger font sizes?

Mike

nickadocker
09-11-2006, 08:20 PM
Thanks for responding back! Not many people do and the advice was really helpful! I fixed the IE problem by adding this code between my head tags:

<style type="text/css">
form {
margin:0;
padding:0;
}
</style>

Thanks!