Is it possible to set same height as width?
css
img{
width:90%;
height: same as width;
}
since screen width and height is not same so if width is 90% height should be same height in pix
Is it possible to set same height as width?
css
img{
width:90%;
height: same as width;
}
since screen width and height is not same so if width is 90% height should be same height in pix
Use width and height in pixels
img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}