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

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.4.0 : Friday, 25 March 2022 10:08:48 UTC