I follow this guide http://www.w3schools.com/css/tryit.asp?filename=trycss_float_elements .
Why do they set the height and width inlinewhen all the pictures are displayed as 110px x 90px in the CSS above?
inline
It must be defined inline. If you use the img tag, this image must have a semantic value for the content, so the alt attribute is required for validation. The answer explained more here .. (similar question) fooobar.com/questions/72901 / ...
, , . , / inline, , thumbnail, .
thumbnail
.
height:90px width:110px
, .
<img class="thumbnail" src="klematis_small.jpg" width="107" height="90"> <img class="thumbnail" src="klematis4_small.jpg" width="120" height="90">
P.S: w3schools . w3fools.com
, , , , , ( , . tg, . )
, , , :)
css, . . .
, CSS , , CSS.
: , 90x110, 45x55 . , , .