Jump to content

Collapsing div


justsomeguy

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...