[thelist] CSS - background image keeps repeating

aardvark roselli at earthlink.net
Fri May 11 07:28:27 CDT 2001


> From: "sfmalo" <sfmalo at msn.com>
>
> Problem: Could someone please check the code below. I am trying to not
> have my background image repeat ... but it insists on repeating! What
> am I doing wrong?

i just posted a tip on this yesterday, so i'll repost my sample code 
below...

> I've tried taking out background-position to no avail. I have tried
> taking out "fixed" but doesn't help. Tried background-attachment - no
> soap (and it doesn't work in NN4 anyway).

i don't think 'fixed' is a valid attribute...

> BODY { "a bunch of other stuff" ;
>   background-color: #6600cc ;
>   background-image: url(background_purplegradient1.gif) ;
>   background-repeat: no-repeat fixed ;
>   background-position: 0px 0px }

#foo	{	background-color : #ffffff ;
			background-image : url(foo.gif) ;
			background-repeat : no-repeat ;
			background-position : 0px 0px ; }

lemme know if that works... that's worked for me in NN4.x on both 
Mac and win for a while now...




More information about the thelist mailing list