Background in class wont show in IE or FF

Discussion in 'CSS' started by Andeh, Nov 24, 2008.

  1. #1
    Hi there, I can't figure this one out at all, Ive had a search through the forum with no luck but im sure it's a simple thing im doing wrong.

    In dreamweaver I have my class with an image in it:
    [​IMG]

    but in a browser it doesnt show:
    [​IMG]

    here is the CSS for the class:
    .5star{width:195px;height:60px;background:url(../images/5star.jpg) top left no-repeat;}
    Code (markup):

    Any help is greatly appreciated, Thanks.
     
    Andeh, Nov 24, 2008 IP
  2. LeetPCUser

    LeetPCUser Peon

    Messages:
    711
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Make sure the root folder you are working in has an images folder. Inside of that the image 5star.jpg should be located. If this is on a server, make sure you have the files and folders correct as well.
     
    LeetPCUser, Nov 24, 2008 IP