OPTION tag breaking floating div

Associate
Joined
18 Oct 2002
Posts
1,312
Location
Milton Keynes
Hey

For some reason I have a select / option tag that is breaking a floating image on my page. Normally the image is floating down the side of a content container like a skyscraper banner.

I am making a form on the page, and when I use a SELECT element with an OPTION tag inside, it breaks the float and makes it appear underneath. I have no styles in my stylesheet that even mention SELECT or OPTION tags so any ideas as I am lost?

Working but WITHOUT option in select tag


Broken WITH option in select tag


A couple of images there to show you what I mean

Also my class for the floating skyscraper div

Code:
#sidebar_left {
	background-color : #f47c31;
	float:left;
	width:79px;
	height: 508px;
	margin-top: 30px;
	margin-left: 25px;
}

Any ideas? Thanks in advance!
 
actually no matter, fixed it by sticking a <br> after the div tag with the skyscraper, plus moved it to another location in the code
 
Back
Top Bottom