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. Tejbusiness

    Tejbusiness Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    your code is


    .5star{
    width:195px;
    height:60px;
    background:url(../images/5star.jpg) top left no-repeat;}

    your 5 star image is right site so css is

    .5star{
    width:195px;
    height:60px;
    background:url(../images/5star.jpg) top right no-repeat;}
     
    Tejbusiness, Nov 25, 2008 IP