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
400 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
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…

717 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