Css Help Please

Discussion in 'Gaming' started by White B O I, May 20, 2009.

  1. White B O I

    White B O I Well-Known Member

    Age:
    34
    Posts:
    813
    Likes Received:
    0
    Joined:
    Apr 11, 2006
    Location:
    Table Town, Arizona
    Okay, I'm using this code:

    Code:
    background-color:black; 
    background-image:url('url'); /*url the image of my background.
    background-repeat:no-repeat;
    background-position: bottom left;
    background-attachment: fixed;
    its css,

    it seems so simple!

    But the only way I can get this image to work is if its repeat on the y axis and take out background-attachment: fixed;
    Code:
    background-repeat:repeat-y;
    otherwise the image won't completely display, only portions of it will.
    my problem is my image is 950x1200,
    I cant get it to stay fixed on the bottom left of the page while i scroll.
    would it work if I just resized the picture? I rather resize it through the css, I've done it in html, is it possible in css? I'm not great with css.

    I'm doing this in FireFox as well, that's why I'm using background-attachment: fixed; I was told it was required in FF.
     
  2. r3m1x

    r3m1x Well-Known Member

    Posts:
    2,260
    Likes Received:
    0
    Joined:
    Jun 21, 2005
    Location:
    New York City
    How big is your screen if your background is 950x1200?

    Also, it might be the size because if you go here, you can test out properties, and all of your work on the smiley.
     
  3. White B O I

    White B O I Well-Known Member

    Age:
    34
    Posts:
    813
    Likes Received:
    0
    Joined:
    Apr 11, 2006
    Location:
    Table Town, Arizona
    I've known of that editor, I prefer to write it in notepad and open it in FF though.

    Uhmm, my resolution on my computer is 1280x800, so as I thought, I'd have to resize the picture?
     
  4. r3m1x

    r3m1x Well-Known Member

    Posts:
    2,260
    Likes Received:
    0
    Joined:
    Jun 21, 2005
    Location:
    New York City
    I would suggest you at least try it. I've never actually seen someone try to set a huge background because of bandwidth consumption. Unless it's for a school project where the image is local, I strongly suggest resizing.
     

Share This Page