Set image width a class.
-
Hello,
I’m a CSS n00b, I REALLY need your help please, I’m going crazy:
I’m unable to set the width of an image using a class. That’s what I do:
In my style.css I set (for example) the class:
.pippo {width: 20px;};
In my html:
<img class=”pippo”; src=”http://www.webfoodculture.com/wp-content/uploads/2015/06/antip_001_crocvic01.jpg”; />
… result, just nothing! The image keeps the original size.
Many thanks in advance for your help!
A.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Set image width a class.’ is closed to new replies.