iPhone Web Development Image Scaling
Posted
by Dominic Godin
on Stack Overflow
See other posts from Stack Overflow
or by Dominic Godin
Published on 2009-08-27T16:31:19Z
Indexed on
2010/05/08
9:28 UTC
Read the original article
Hit count: 359
I am developing a simple web page to be viewed after an iphone application completes. I am finding the safari degrades the image quality of the jpg so its all fuzzy.
The image is background image applied to a div
div.foo
{
background: url(../images/foo.jpg) no-repeat;
width:320px;
height:349px;
}
The width and height are exactly the same as the jpg image. Is there a way to make sure the image gets displayed in its full quality?
© Stack Overflow or respective owner