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


webfoo - 11:29 pm on Jun 21, 2011 (gmt 0)


The range of image sizes is not completely out of my control, but it is too large of a range to simply set the div size to the highest possible value. Plus, sometimes there will be no background image at all, and the div simply needs to contain its contents.

I'm thinking JavaScript is the way to go here. How would this be best done?


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