...

View Full Version : I can't get my website background to show up on iPad



vdixon
11-22-2010, 05:10 PM
The website is http://www.freshgames.com/

I'm relatively new to this so it is frustrating. I have set up a separate css file for the ipad (ipad.css) and have tried a number of solutions for fixes.

My website works fine on browsers, but the background disappears on the iPad. It also shifts the body over to the left. Please help with possible solutions.:)

DDmUSA
11-22-2010, 09:25 PM
If this not relevant or something you already know, please pardon the message.

I did some research about methods for detecting which browser is accessing a website, and I came across some commands that can be placed into a file named .htaccess

The commands appear to detect a user agent string, and based on this string, the person viewing the site is redirected to a specific page.

The lines of code for the .htaccess file are as follows:

Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^.*Android.*$
RewriteRule ^(.*)/$ http://specifyredirectaddresshere [R=301,NC,L]
RewriteCond %{HTTP_USER_AGENT} ^.*iPhone.*$
RewriteRule ^(.*)$ http://specifyredirectaddresshere [R=301,NC,L]
RewriteCond %{HTTP_USER_AGENT} ^.*BlackBerry.*$
RewriteRule ^(.*)$ http://specifyredirectaddresshere [R=301,NC,L]
RewriteCond %{HTTP_USER_AGENT} ^.*Palm.*$
RewriteRule ^(.*)$ http://specifyredirectaddresshere [R=301,NC,L]
RewriteCond %{HTTP_USER_AGENT} ^.*iPad.*$
RewriteRule ^(.*)$ http://specifyredirectaddresshere [R=301,NC,L]



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum