What prevents an element from using the height of its children?
-
I created a wrapper <div> around a couple of elements. It inherits the width of its children, but not the height, which stays at zero. I’d like to use it for background behind the children. How do I make it use its children’s height?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘What prevents an element from using the height of its children?’ is closed to new replies.