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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Mar 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Tumblr: Make bg image fit on all screen sizes?

    The background image I have:

    http://dl.dropbox.com/u/48921154/tum...8txo1_1280.jpg

    And coding for the background:

    body {
    background-image: url('{image:BackgroundM}');
    background-attachment: fixed;
    background-color: {color:BackgroundM};
    margin: 0;
    }


    I want to ensure that my background image will not repeat on larger screen sizes, but rather it will always remain at 100 percent.

    Thanks!

    (I have very minimal knowledge about coding by the way. I only mess around with themes, so.)

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,668
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello Majesty Snowbir,
    Look at what CSS3 cover can do for you - http://www.w3schools.com/cssref/css3...round-size.asp

    If you don't think you're target browsers will support CSS3, there is a jQuery solution here.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Tags for this Thread

    Posting Permissions

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