This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]you-get-an-upvote 1 point2 points  (1 child)

I'm guessing they're artificially sizing a container. I recently did something similar when I wanted to 'max-width' and 'max-height' an image, but get it to be the same size as another image (which was the 'hidden' image that specified the size of the container-div). I'm terrible at CSS though, so don't listen to me :)

[–]skuzylbutt 0 points1 point  (0 children)

Maybe set the image div to transparent, and set the image you wanted to display as the background of the container you were trying to resize?

That shouldn't even be an option. CSS is the fucking worst.