Friday, June 1, 2012

Gotcha with CSS Height

If you put CSS height: 100% in a div, it may not work if the parent container doesn't have a height defined. To fix it, the parent container needs to have a height defined as well.

No comments:

Post a Comment