Monday, February 20, 2012

CSS empty div collapses

Problem: A div with a width but no content is collapsing (not visible)
Solution: Either put an &nbsp character, or explicitly set a div height

No comments:

Post a Comment