Revision: 49954
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 3, 2011 03:13 by fauverism
Initial Code
Here’s a tip for catching unsized images during development. Add this CSS rule somewhere in your stylesheet: img:not([width]):not([height]) { border: 2px solid red !important; } Then any images without width and height attributes will be drawn with a red border so they’re easy to spot. Found via 37signals
Initial URL
http://37signals.com/svn/posts/2979-css-tip-spot-unsized-images-during-development
Initial Description
Initial Title
Spot unsized images during development
Initial Tags
css
Initial Language
CSS