View Full Version : Background Image Sizing


pinklipstick
09-01-2006, 04:51 AM
I am new to this whole CSS thing and I am not very good. I am using generators and trying to look at codes to help me make my own layouts. I want to learn CSS very badly (If you know of any myspace layout tutorials I would love links). That said, I am having this problem making my background image be the entire background. I have seen it on other sites where a single picture is the entire background. I have an image that is 1024x768 so it isn't too small. I have tried specifing the exact pixels like this--- background-position:1024 768;---- However that did not work. My background came up grey. :(

If anyone knows what I am talking about and could help me, I would greatly appreciate it :) . I did look in previous posts and didn't see this topic. Though I am sure its been discussed I am sorry I couldn't find it.

Thank You

cherry_blossom
09-03-2006, 10:36 PM
I don't do a lot with myspace, but I think if you set your background as "fixed" and set it to "no-repeat" it'll just show that one picture, and won't scroll along with your other stuff.

background-attachment:fixed;
background-position:top left;
background-repeat:none;

TraceyAngelfish
11-02-2006, 02:03 PM
I'm having the same problem. I'm about to try making my image larger to see if it's just because a lot of screens are larger than 1024 x 768 nowadays. If you've worked this out since, can you let me know.

thezeppzone
11-02-2006, 03:21 PM
Please don't bring up old threads, try and create your own. It makes it easier on everyone, thanks :)