This is what I thought, though I have not added the width and height
attributes in a long time. My experience however is that adding the
attributes will impact use of various rwd methods such as responsive images
using the picture element. No?

On Thursday, April 14, 2016, Karl DeSaulniers <[email protected]> wrote:

> So this is saying that a css class can override a hardcoded width or
> height?
>
> Best,
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
>
>
>
> On Apr 14, 2016, at 4:36 PM, Nick Fitzsimons <[email protected]
> <javascript:;>> wrote:
>
> >
> >> On 14 Apr 2016, at 22:03:21, Karl DeSaulniers <[email protected]
> <javascript:;>> wrote:
> >>
> >> I don't believe this is correct. Widths and heights hard coded or
> inline trump external.
> >> Unless I missed something along the way. (:  ))
> >>
> >> Best,
> >>
> >> Karl DeSaulniers
> >
> > As specified in CSS2.1 (and not since changed by any later version)
> presentational HTML attributes are treated as “presentational hints”, which
> are "translated to the corresponding CSS rules with specificity equal to 0,
> and are treated as if they were inserted at the start of the author style
> sheet. They may therefore be overridden by subsequent style sheet rules" - <
> http://www.w3.org/TR/2011/REC-CSS2-20110607/cascade.html#preshint>
> >
> > Cheers,
> >
> > Nick.
> > --
> > Nick Fitzsimons
> > http://www.nickfitz.co.uk/
> > @NickFitz
> >
> >
> > ______________________________________________________________________
> > css-discuss [[email protected] <javascript:;>]
> > http://www.css-discuss.org/mailman/listinfo/css-d
> > List wiki/FAQ -- http://css-discuss.incutio.com/
> > List policies -- http://css-discuss.org/policies.html
> > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
> ______________________________________________________________________
> css-discuss [[email protected] <javascript:;>]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>


-- 

Tom Livingston | Senior Front End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | medialogic.com


#663399
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to