On Thu, Oct 1, 2009 at 3:17 PM, Thierry Koblentz <[email protected]> wrote:

>
> > > I'm using a content management system to display thumbnail images and
> text
> > > for each record in a database.
> > > I have two left-floated divs, 1 for thumbnails and 1 for text, inside a
> > > container div for the database record.
> > >
> > > I want to use a background image as a placeholder in case there is no
> > thumb
> > > image in the record.
> > >
> > > I can't get my background image to display in any browser, even though
> it
> > > exists on the server.
> > > Does anyone see what I'm doing wrong here?
> > >
> > > CSS:
> > >
> > > .listing-result {width: 900px;}
> > >
> > > .listing-thumb {float: left; width: 150px; height: 84px;
> background-image:
> > >
> >
> url(http://localhost/images/placeholder.jpg)<
> http://localhost/images/placeho
> ld
> > er.jpg%29>
> > ;}...
> >
> >
> > >Do you have that space, between url and the "(", in the CSS file?
> >
> > >
> > > Regards,
> > > Thierry | http://www.TJKDesign.com
> > >
> > >
> > >
> > > No, I do not have a space there. I have also tried both single and
> double
> > quotes around the url, with no effect.
>
> When you say you know the image exists on the server do you mean the
> *remote* server?
> Because the declaration uses a path to your localhost.
> Do you have an URL we can look at?
>
>
> --
> Regards,
> Thierry | http://www.TJKDesign.com
>
> No, I'm developing locally. a-ha!  There it is - right in front of us, that
missing quote mark in the 2nd line of html I pasted. Thanks for looking.
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to