View Full Version : editing the CSS code on Lissa


angelshadow
07-09-2003, 10:24 PM
okay here's the part of the CSS coding i'm having problems with:

body
{ background-color: #000000;
background-image:url(value); [url of background image to be used, i.e. background.gif]
background-repeat:value; [repeat, no-repeat, repeat-x, repeat-y]
background-position:valueI valueII; [valueI: top, center, bottom, percentage, pixel number]
[valueII: right, center, left, percentage, pixel number]
background-attachment: [scroll, fixed]

I have NO CLUE as to how to change the position values. I'm extremely confuzed lol. I know how to change the background color, the image url, the repeat value, and the background attachment, but i'm having major issues with the position values. I have NO CLUE how to change it. Every time i try it's always wrong. I need the values to be top 0 pixels and left 35 pixels. Can anyone help me with this? I've used CSS before but only for links and scroll bars and i've used absolute postitioning before but i cannot figure out how to change the values for this. I'm so frustrated. And once i'm finished with this tag, how would i close it? Just by using a } ? anyone...HELP! lol. Thanks a bunch.

kittycat
07-09-2003, 10:30 PM
For positioning, you'd put the pixels from the top first, then left, so it would be background-position: 0px 35px; If it's wrong, just change the numbers around :P If neither of those work there might be some other problem with the code too.

And yes, you would just close it off with a }.

angelshadow
07-10-2003, 02:39 AM
thanks a bunch :)