2
I have a question on an HTML page I created.
The whole page depending on the large or small screen automatically adjusts the size. Now the only thing I can’t do the same is Image.
I wonder if you can help me?
CSS:
.image {
border: 0;
display: inline-block;
position: relative;
border-radius: 5px;
}
.image img {
display: block;
border-radius: 1px;
}
HTML:
<img src="images/Logo.png" />
I know little of html and css to risk an answer, however I think it remains to indicate
height: x%;
andwidth: y%;
where x and y are the values in percentage of the space that the image should occupy in the div which contains it. Note that the div must also have its dimensions defined.– ramaral