CSS for Blackberry
Posted: Thu Sep 01, 2011 6:58 am
Hi
I am trying to get an image to stretch to 98% of the screen, up to the max width of the image.
This works on an iphone, but on a Blackberry 8520, it doesn't automatically resize the height of the image.
I can't set the height of the image in pixels, so how do I stop it giving a 'squashed' look?
I am trying to get an image to stretch to 98% of the screen, up to the max width of the image.
Code: Select all
.logobox img
{
max-width:98%;
}I can't set the height of the image in pixels, so how do I stop it giving a 'squashed' look?