Jump to content

Collapsing div


justsomeguy
 Share

Recommended Posts

I don't know if you still need help with this, but it's because the floats aren't being cleared. Adding a br before the closing form tag did the trick for me in Firefox:

		<br style="clear:both;" />	  </form>	</div>  </body></html>

Link to comment
Share on other sites

Ahh, good to know. Yeah I thought it had something to do with the floats and the browser not applying the height of the floating elements to the inner height of the container. I was able to get around it by simply not floating the one on the right (the input):

	.left	{	  width: 250px;	  float: left;	  text-align: right;	  padding-right: 5px;	  font-size: 12px;	}	.right	{	  margin: 1px 0px 1px 0px;	}

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...