Hi Karl, I'm not sure what you mean by 'hard coded or inline'. 

Make a test page and place an image:

<img style="width:100%; height:auto;" src="dog.jpg" alt="cat" width="100" 
height="100">

The image will fill 100% of its container's width. It makes no difference if 
the css is inline, in the head or in an external sheet.

Best regards, Peter


-----
> On 14 Apr 2016, at 23:03, Karl DeSaulniers <k...@designdrumm.com> 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
> 
> 
> 
>> On Apr 14, 2016, at 2:24 PM, "Peter H." <li...@artworkers.net> wrote:
>> 
>> If you specify any img width in the css then the html widths will have no 
>> effect.

______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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