newbie problem with ie

Discussion in 'CSS' started by pizzaman, Jul 18, 2007.

  1. #1
    i am trying to add an image to the upper right hand side of my page
    using backgroung image i have managed to get it working in FF but not in IE
    
    #tomatoe {
    clear:both;
    background:url(/templates/10/images/girl.gif)no-repeat top right;
    width: 530px;
    
    position:absolute;
    right:5px;
    top:5px;
    z-index: 10;
    height: 150px;
    }
    HTML:
    here is the page
     
    pizzaman, Jul 18, 2007 IP
  2. soulscratch

    soulscratch Well-Known Member

    Messages:
    964
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    155
    #2
    First glance I'm guessing it's because you have no space between the no-repeat and the url().

    Also, you should really re-edit that image and use a matte color (take a sample of that background and maybe it'll work).
     
    soulscratch, Jul 18, 2007 IP
  3. c_egeland

    c_egeland Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try this out and see if it works:
    CSS
    #tomatoe {
      position: absolute;
      text-align: left;
      right: 10px;
     z-index: 10
      }
    Code (markup):
    HTML
    
    <img id="image" src="imagename.jpg" alt="Alt Text Of Image" />
    
    Code (markup):
     
    c_egeland, Jul 18, 2007 IP
  4. pizzaman

    pizzaman Active Member

    Messages:
    4,053
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    90
    #4
    yes thanks
    the image has to be changed thanks
     
    pizzaman, Jul 18, 2007 IP