I can't get any parameters on the css background image to work. - Better Battlelog Forums #94647

Sitemap
Post edited 2 x times, last by
Topicstarter
http://www.w3schools.com/css/css_background.asp

nothing here works for me.
im trying to use this image:
http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg

on a 1680x1050 resolution monitor and the image repeats in all directions. I want to stretch and force it to remain stationary so when I scroll, it's always in the same place.
I can't even get the no-repeat thing to work, it just makes it so my custom image isn't being used anymore.
this is what i have in the box:
url(http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg); background-repeat:no-repeat;
Post edited 10 x times, last by
Try this:
url(http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg) no-repeat
:-)

Fore some reason the forum software adds two spaces into the URL. 1) Behind /s1600/ 2) Behind +background+k. Remove these.
Topicstarter
even in Edit Post, those spaces aren't there. I see what ur talking about, but i can't remove them and they're not in bblog.
....anyways, how do i adjust my background to fill the screen and not move while scrolling?
I fixed the bblog forum spacer bug in the url.
Post edited 2 x times, last by
Krux wrote:
even in Edit Post, those spaces aren't there. I see what ur talking about, but i can't remove them and they're not in bblog.
....anyways, how do i adjust my background to fill the screen and not move while scrolling?


url(http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg) no-repeat fixed center

Fitting to full screen is not possible in BBLog (I tested it, might be wrong, enlighten me if so).


What's your monitor resolution? You could strech the image in a image program (ugly though) or just search for a image in your monitor resolution.
Topicstarter
my resolution has been in my first post....
and assuming i find that image in a larger rez, how would i force it to not move when scrolling? (keeping the image in place)
Krux wrote:
my resolution has been in my first post....
and assuming i find that image in a larger rez, how would i force it to not move when scrolling? (keeping the image in place)


It works with the code from Brady_The
Krux wrote:
my resolution has been in my first post....

Sorry.
Krux wrote:
and assuming i find that image in a larger rez, how would i force it to not move when scrolling? (keeping the image in place)

I might got you wrong on that point. Do you want the image to scroll with you or stay on top with the default background color when the picture ends (1050px)?
Krux wrote:
my resolution has been in my first post....
and assuming i find that image in a larger rez, how would i force it to not move when scrolling? (keeping the image in place)


url("http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg") no-repeat top transparent
Topicstarter
Brady_The wrote:
Krux wrote:
my resolution has been in my first post....

Sorry.
Krux wrote:
and assuming i find that image in a larger rez, how would i force it to not move when scrolling? (keeping the image in place)

I might got you wrong on that point. Do you want the image to scroll with you or stay on top with the default background color when the picture ends (1050px)?


so that it doesn't move when i scroll. like... if i scroll the page, i'll always see the same image in the same place on my screen
url("http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg") fixed no-repeat top transparent
Topicstarter
juress wrote:
url("http://4.bp.blogspot.com/-8nPtC07s9CI/UAgCjRR8DLI/AAAAAAAABjE/D2Ra13Gzbmw/s1600/metal+gear+solid+mgs+snake+eater+ending+big+boss+the+boss+wallpaper+background+konami+action+stealth.jpg") fixed no-repeat top transparent


this works! ty so much!