How about just setting the size properties in pixel?
Code:
.pic {
width:353px;
height:264px;
}

Originally Posted by
SKILLIT
I have an image
http://bookholidayrentals.com/Pics/020641.jpg
which is 320 x 240 pixels
I want to display it slightly larger by specifing width and height percentages but even 102% gives something way to big.
It seems that if I specify:
.pic {
width:94%;height:94%
}
That I get the picture display as I want with properties of 353 x 264 [IE8]pixels.
Can anyone explain to me why?
Note: FF & IE8 give results a few picels different : FF: 320px × 232px (scaled to 353px × 256px).
Bookmarks