Attribute to hide a background image.

Discussion in 'CSS' started by dura_killer, Oct 17, 2008.

  1. #1
    What attribute to use for hiding a background image which is getting displayed in the area where it is not meant to be displayed.
     
    dura_killer, Oct 17, 2008 IP
  2. steve875

    steve875 Peon

    Messages:
    91
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Is what you're looking for:
    
    display: none;   
    
    Code (markup):
     
    steve875, Oct 21, 2008 IP
  3. lopetzi

    lopetzi Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    display: none;
    HTML:
    this will also hide all the content.
    I think you are doing something wrong with the background...
     
    lopetzi, Oct 22, 2008 IP