?
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
Medium Priority
?
407 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month8 days, 16 hours left to enroll

764 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