I am trying to resize images for smartphones such as the iPhone. When I view my site on a phone the images fail to resize. I have this code in my CSS. I am wondering though whether it is not specifically images that is causing the problem.
No, it will not be the images it's definitely your CSS.
"img 100%" tells the browser to scale the image to fill all of the <div> that surrounds it.
Have you seen the Skeleton boiler plate system? It's a ready made blank template
that automatically scales images and arranges text to fit any display screen.
This topic is now closed. New replies are no longer allowed.