Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
background image in css??
Hi, there i try to use a background image, but i can’t see it !
padding-top:1em;
padding-bottom:1em;
text-align: center;
border-top:1px solid #324031;
border-bottom:1px solid #324031;
background: #cc9966 url(“/images/tools/banner_790x124.jpeg”);
<p> do i have to change any things??
i go crazy with this …
the link to my site is here
Thanks
good magic is better than sex, but harder to find …
http://www.lazarro.de
Offline
Re: background image in css??
try this for your background shortcut
<code>
background: #cc9966 url(/images/tools/banner_790×124.jpeg) no-repeat 0 0;
</code>
Offline
Re: background image in css??
Oh….and make sure you path from the CSS file to the image is correct.
Offline
Re: background image in css??
hi, thanks,
but nothing changed, i don’t now ??
the path is ok …
good magic is better than sex, but harder to find …
http://www.lazarro.de
Offline
Re: background image in css??
Ok…..here’s what works, I used dev toolbar and edited the css on your site so I know this works:
<code>
background: #cc9966 url(http://www.cardstunts.eu/images/tools/banner_790x140.jpg) no-repeat 0 0;
</code>
It was the path. Among other things, you had it specifying .jpeg when the file was called .jpg
Offline
Re: background image in css??
The used path is not ok. This path is ok. As a magician, it shouldn’t impose a problem to vaporize one “e”, should it?
Last edited by wet (2006-08-02 18:50:19)
Offline
Re: background image in css??
Thanks a lot.
I maked it disappear … :)
but i tell you, for me txp is magic,
it let appear articles on positions i like, random, in order, what ever, thats magic too.
and iam shure, next question is not so far …
good magic is better than sex, but harder to find …
http://www.lazarro.de
Offline
Pages: 1