Page is a not externally linkable
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?