Keep images and videos from taking over
Oct. 3rd, 2011 05:36 pmI 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!
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!