Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Show entire background image


webfoo - 8:12 pm on Jun 21, 2011 (gmt 0)


Is there a way to force a div into being at least as large as it's background image? The background image could be a different image each time, so there's no telling what the exact dimensions will be.

I figured I'd use a min-height to accomplish this, but what do I set it to?!? It isn't the same measure every time!


Thread source:: http://www.webmasterworld.com/css/4328945.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com