Link to home
Start Free TrialLog in
Avatar of eMisc
eMisc

asked on

how to avoid background scrolling on safari mobile

Hello,
how can I keep background image always on same position not scrolling with content?
I need it to work on safari mobile for iphone/ipad, this is the current code but it doesn't work, image doesn't repeat but it's not fixed:


background-image:url('fondo-iphone2.png');
                background-attachment: fixed; 
                background-position: top;
                background-repeat: no-repeat;

Open in new window


thank you
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eMisc
eMisc

ASKER

none of them works, but there aren't more answers, thank you