Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Div Background Image Won’t Display

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27992
    Zeb
    Member

    My problem is pretty simple. I’m working with several div’s with background images and it should look roughly like this.

    [img]http://zebfrye.com/images/problem.gif[/img]

    But when I test live or in any of several browsers the stars are missing but the icons display. Since both are coded the exact same way what would be causing this. I’ve feel like I’ve tried everything but it’s late and I haven’t had a cup of coffee for a while…

    Live DEMO: http://zebfrye.com/insanediv.html

    Code:


    Stupid Div’s or Stupid Me…

    #70873
    Cags
    Member

    It’s because your class names begin with numbers, which I believe is invalid. Try ‘fivestar’ rather than ‘5start’ and so fourth.

    #70879
    Zeb
    Member

    Yep…that would be it. Learn something new every day.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.