Hi,
I have HTML code similar to
<div id="resizeThis">
<div style="background: url(...)">...text...images...</div>
...
</div>
I want to resize the div with all its contents to arbitrary size. For example, I could use JavaScript to get the div width and then resize all elements accordingly, but what's the simplest way to do this? I can use jQuery, I tried:
$("#resizeThis > *").css('width', '64px').css('height', '64px');
but it only shrinked the #resizeThis and not its children.
And what can I do about backgrounds, text, etc?
I want to do this so that I could generate thumbnails (usually 25% of the original size).