baggyeyes: Bugs Bunny and the Bull (Default)
Baggyeyes ([personal profile] baggyeyes) wrote in [community profile] dreamwidthlayouts2011-10-03 05:36 pm

Keep images and videos from taking over

I found this CSS snippet while trying to find a way to keep large images from swallowing the layout whole:

img, embed, object, video {
max-width: 100%
}

Vanseodesign.com: Flexible Images/


I've only tested it on my reading page, but it seems to work very well.

I hope people find this useful!

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting