Solved

Background of website scales down and only shows up on left side of the page on the ipad...

Posted on 2011-03-18
2
394 Views
Last Modified: 2012-05-11
I found someone that had a similar problem but the thread was closed or points were already awarded (I'm new here) so I couldn't ask anymore questions.  

When you go to my site on the ipad or iphone the background is scaled down and only shows up on the left side of the page.  The post I found that was exactly my problem said they put code in it and it was fixed, but I wasn't sure where the code goes.  

My site is: www.thankdogbootcamp.com 

The exchange was here: http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_26821001.html#a35169557 and the code they mentioned is: background-size:940px;width: 100%;top: 0;left: 0;right: 0;

Please...if anyone can help, I would be ever so grateful...

Thanks!!!
0
Comment
Question by:ThankDog
2 Comments
 
LVL 16

Accepted Solution

by:
SSupreme earned 500 total points
ID: 35172315
Try this:
#XTwoTwoThousand {
    background-image: url("backgrounds/3000.jpg");
    background-repeat: no-repeat;
    background-size: 796px auto;
    height: 3001px;
    left: 0;
    margin: 25px auto 0;
    padding: 0;
    text-align: left;
    top: 0;
    width: 769px;
}
0
 

Author Closing Comment

by:ThankDog
ID: 35176219
It appears that it worked!!!!  Thanks!!!!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML CSS 7 39
Gradient CSS 4 30
Remove greater than sign 3 50
Custom Form Design to Match this example 1 18
"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now