Cosmin B
Cosmin B

Reputation: 13

Div height doesn't expand when I have a fieldset inside

I have a div that expands to the height of it's content. It works fine if I put only paragraphs (

) or a table inside but when I put a fieldset it doesn't expand to its height.

I have used jsfiddle to make an example http://jsfiddle.net/33hgK/4/ . Anyone else had this problem?

I appreciate any answers I receive.

Upvotes: 1

Views: 737

Answers (1)

WolvDev
WolvDev

Reputation: 3226

Remove the float:left; from fieldset#infofields

http://jsfiddle.net/33hgK/5/

Upvotes: 1

Related Questions