Quantcast
Channel: WordPress Ideas » Tag: compatibility - Recent Posts
Viewing all articles
Browse latest Browse all 94

Pat Hawks on "IE7\8 compatibility - "px" attribute on images height\width"

$
0
0

According to the HTML spec, height and width are non-negative integers that define the dimensions of the image in CSS pixels.

Filling those attributs with anything other than a non-negative integer breaks compatibility with HTML. This seems a pretty price to pay just to make things a bit easier for out dated browsers.

http://www.w3.org/wiki/HTML/Elements/img#HTML_Attributes


Viewing all articles
Browse latest Browse all 94

Trending Articles