Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Posts
    603
    Thanks
    2
    Thanked 1 Time in 1 Post

    div background image cutoff ios/android

    i have a div with width 100% and a set height in px, the background image for it keeps getting cut off on iphone/ipad and android... attached are screenshot and css code

    Code:
    #homeSlideContainerBlock{
    	background:url('/wp-content/uploads/2012/07/redblock.jpg') #fff top center no-repeat;
    	min-width:100%;
    	height:695px;
    	display:block;
    	padding-top:25px;
    text-align:left;
    }
    SCREEN 1: Iphone/Android
    SCREEN 2: Chrome (how it is supposed to look)
    Attached Thumbnails Attached Thumbnails div background image cutoff ios/android-screenshot_2012-07-26-19-15-45.jpg   div background image cutoff ios/android-f324.jpg  
    Last edited by boeing747fp; 07-27-2012 at 04:08 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •