Probably a simple question this, but…
I can apply CSS to all images using img {} in the CSS.
Some of the images have a border specified in html (e.g. border=”1″) – from a WYSIWYG editor.
So, is there any way to specify in CSS that if the a border is specified, then it should be white?
border:1px solid white;orborder-color:white;Here, the official specs. Probably more than you want to know, but this is the formal reference. If other documents disagree, this is the authoritative one.
http://www.w3.org/TR/2011/REC-CSS2-20110607/box.html#border-properties
Oh, and the HTML attribute
border="1"is deprecated. Better use CSS all the way.