set a mac heigh and stretch img dynaically code example
Example: making an image resize evenly with window
img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}
img {
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
}