Page 1 of 1

Unique Background Images for List Items in Content

Posted: Tue Oct 14, 2008 11:43 pm
by vidya
I am running CMSMS  version 1.4.1 on the following server software:

Apache/1.3.34 (Debian) mod_gzip/1.3.26.1a AuthMySQL/4.3.9-2 PHP/5.2.0-8+etch10

I have set my main stylesheet to display a unique background image for all list items in the main content as follows:

#bodycopy ul li {
background: url(uploads/images/bullet.gif);
padding-left: 1.5em;
}

I have checked the path to the image, the id tag in the stylesheet matches the one set in the template, the CSS looks fine, but for whatever reason, the background image simply will not display on the page. You can view my test page here:
http://www.panhellenic-sa.org.php5-3.websitetestlink.com/index.php?page=test

I even created a basic XHTML page on my computer (not with the CMS, just a standard XHTML page) and it works just fine, the bullet images show up like they are supposed to.

I would appreciate any suggestions on what might be causing this; I'm not sure if it's a CMSMS deal since it works fine in a regular web page.

Many thanks!

Vidya

Re: Unique Background Images for List Items in Content

Posted: Sun Oct 19, 2008 9:36 pm
by bojans
Hi,

I don't know if this will work but I think that you should have:

background-image: url(uploads/images/bullet.gif);

Bojan

[Solved] Re: Unique Background Images for List Items in Content

Posted: Mon Oct 20, 2008 4:55 pm
by vidya
Actually, the shorthand version I used works as well. In my case, the graphic designer had named the file with an extra space like this: bullet .gif. Renaming it did the trick. Thanks for the input!