View Full Version : stupid friggin background wont work


Incendio
04-13-2006, 12:47 PM
Why wnt' this work?!

IN my CSS:

body{
margin: 0px;
background-image: (url)bgpat.gif;
background-repeat: no-repeat;
background-color: transparent;
text-align:justify;
font-family: tahoma;
font-size: 9px;
color: #2E6677;
line-height:11px
cellpadding:2px;

But the background just wont show up!! Why?


Anyways, I tried outting the background in the header.inc instead

<body background="bgpat.gif"; background-repeat="no-repeat"; background-attachment="fixed";>

That SOMEHOW worked, the problem is that I want everything else to scroll but NOT the background, thats why I choose fixed, but it wont work either!

maztrin
04-13-2006, 01:32 PM
in your css change the background-image attribute to background-image:url(your url goes here.gif);

and then your background image should work in your css :)

Incendio
04-13-2006, 05:13 PM
Oh my god THANK YOU SO MUCH! Finally :P

Is there any way I can make it repeat only from left to right, but not from top to the bottom?

godgofishing
04-14-2006, 06:01 AM
change your background repeat to

background-repeat: repeat-x;

and all should be good. :)