CSS Width and Height Properties
height: value; line-height: value; max-height: value; min-height: value; width: value; max-width: value; min-width: value;
Examples:
img.percentages { width: 25%; } img.withMaxWidth { width: 100%; max-width: 500px; } img.withBorder { border: 1px solid #cccccc; } img.withBorderAndPadding { padding : 10px; border : 1px solid #cccccc; } img.scaled { width: 300px; height: 150px; }
<img src="../html/images/abborre.jpg" alt="abborre" style="width:150px;height:100px;">
abborre
<img src="../html/images/abborre.jpg" alt="abborre" style="width:300px;height:150px;">
abborre
up