View Full Version : no-repeat tag not working


marzena86
02-07-2006, 04:08 AM
Hi,
So I'm finally figuring out how to put together my background layout with PSP 8 to include all my graphics! YEY!!! BUT... I can't get the graphic I made to not repeat behind the journal. Here's the html in my template where the background is:

body {
margin: 0px;
padding: 0px;
background-image: url(http://marzena.blogdrive.com/journal%20temp.gif); style= background-repeat: no-repeat; background-position:
font: 9pt verdana, arial, helvetica
}

Here's the journal addy: www.marzena.blogdrive.com

Thanks for all your help!

HeLpM3
02-07-2006, 04:23 AM
ok you have this
body {
margin: 0px;
padding: 0px;
background-image: url(http://marzena.blogdrive.com/journal%20temp.gif); style= background-repeat: no-repeat; background-position:
font: 9pt verdana, arial, helvetica
}
try This

body {
margin: 0px;
padding: 0px;
background-image: url(http://marzena.blogdrive.com/journal%20temp.gif); background-repeat:no-repeat; background-position:
font: 9pt verdana, arial, helvetica
}
:drool:

marzena86
02-07-2006, 06:21 AM
Any other ideas?

Wermaus
02-07-2006, 01:52 PM
Hi HeLpM3!

Your "background-position:" has no value;This may be the problem.
But your are right; it should work with "background-repeat:no-repeat;"

HeLpM3
02-07-2006, 02:17 PM
Thankz but i knew that just didnt wanted to double post but the new code should be like this
body {
margin: 0px;
padding: 0px;
background-image: url(http://marzena.blogdrive.com/journal%20temp.gif); background-repeat:no-repeat; background-position:center center;
font: 9pt verdana, arial, helvetica
}
***:scared: Note the code above is for the background to be centered so i dont know where you wanted the background to be positioned. :)

allie
02-07-2006, 02:19 PM
Do this:

body {
margin: 0px;
padding: 0px;
background-image: url(http://marzena.blogdrive.com/journal%20temp.gif); background-repeat: no-repeat;
background-position: value, value;
font: 9pt verdana, arial, helvetica;
}