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
393 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
Comment Utility
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
Comment Utility
It appears that it worked!!!!  Thanks!!!!
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

744 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

17 Experts available now in Live!

Get 1:1 Help Now