sergioF sergioF - 2 months ago 6x
CSS Question

HTML   not occupying vertical space

I want my

to occupy the vertical space of its parent DIV. It's being rendered in the markup but it doesn't occupy the vertical space.

I've tried removing the white-space:nowrap style on the DIV. I also tried googlearching but came up empty because everything was about DIVs, special chars and tables.


Please post your CSS so we can see what is going wrong. Look at this simple JSFiddle, with only background-color it renders as you want :)

div {