Not inheriting styles from form and well elements #320

Closed
jkippels opened this Issue Jan 3, 2014 · 1 comment

Projects

None yet

2 participants

jkippels commented Jan 3, 2014

Hello,

when creating a form around input fields and setting the form background-color to black. It won´t apply unless I define a height for the form. It wont wrap around the inputs. Same goes for the well class of bootstrap. There is some kind of bug. Please help me. Thanks.

@pytkin pytkin added the question label Jun 12, 2014
pytkin commented Jun 12, 2014

Hello, @jkippels.
If parent element (in your case <form>) contains the only floated elements, it would collapse.
Here is the article with more information: http://css-tricks.com/all-about-floats/

@pytkin pytkin closed this Jun 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment