Help to one degrade background

Posted by cr1st0 
Help to one degrade background
May 31, 2007 03:57PM
how i change the css.tpl to have a degrade background with a image like this? i tried but have failed.

body
{ 
background:#ffffff url('images/bg_degrade.png')
top left repeat-x fixed;
}
Re: Help to one degrade background
May 31, 2007 04:55PM
Note that the Phorum CSS code is by default included in the page. So the references to images in the template directory should be relative to the Phorum install dir and not the template dir. If you put bg_degrade.png inside templates/yourtemplate/images/bg_degrade.png, then you need the CSS:
background: #ffffff url(templates/yourtemplate/images/bg_degrade.png)
            top left repeat-x fixed;
I don't think that quotes were needed inside the url('...'), but I didn't look up if that was true. But the important thing is to realize from what directory the CSS should reference the image files.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Your IP address, domain or ISP has been blocked. Please contact the forum administrators.
Sorry, only registered users may post in this forum.

Click here to login