W3C home > Mailing lists > Public > www-style@w3.org > November 2014

CSS vs. img size attributes

From: Henrik Andersson <henke@henke37.cjb.net>
Date: Tue, 25 Nov 2014 09:34:35 +0100
Message-ID: <54743F1B.4010508@henke37.cjb.net>
To: www-style list <www-style@w3.org>
Is there a clear specification that rules on which takes precedence, CSS
or explicit width and height attributes of an <img> element in a HTML
document?

The same goes for any replaced element: what if the replacing content
has a set size in the DOM? Or for that matter, if it has an intrinsic size.
Received on Tuesday, 25 November 2014 08:35:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC