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
397 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
This article discusses four methods for overlaying images in a container on a web page
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 …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

762 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