New form doing my head in!

Permabanned
Joined
25 Oct 2004
Posts
9,078
Attempting to recreate my original forms on a website ive been working on to make them a little more professional with proper validation etc.

The page in question is located at

http://www.torbaycab.org.uk/page-template.php

As you can see for some reason there is a HUGE gap between the name and address sections but I cannot for the life of me figure out why!

Any help would be so appreciated i'd actually offer to buy you a pint!
 
Good good.

In case you don't know what setting the overflow is actually doing, it acts as an alternative method of clearing floats.

On the rare occasion, it won't work well with IE6 but because it usually contains floats wrongly anyway, it doesn't happen often. The solution if you ever run into that problem is to set a width on the element you've applied the overflow to.
 
For annoying CSS issues like this I'd recommend using the inspect element option from Chrome. It tells you all the default values. computed values and user rules being applied to an element. You can also hover over a tag in your html and area of the page will be highlighted. Always use it as a last resort if there's some bug that won't go away.
 
Back
Top Bottom