Image layout problems

Discussion in 'CSS' started by high1, May 26, 2010.

  1. #1
    Hello

    I have a page here:

    http://proofreading4students.com

    You will see a coloured yellow line under the main image - and I don't know where it came from. If I were to remove the image, there would be a kind of yellow rectangular block under it (about 500x254 px).

    How can I get rid of that yellow 'block', please?

    The HTML is this:

    <div id="newBox"><img src="./images/main.gif" alt="Celebration!" title="Celebration!" width="500" height="254">
    </div>
    
    Code (markup):
    and my CSS shows this:
    #newBox
    
    {
    width:160px
    height: 254px;
    margin: 0 0 0 0;
    background: #fc6;
    /*float:left*/
    }
    
    
    Code (markup):
    Thanks for any help.

    High1
     
    high1, May 26, 2010 IP
  2. Wtfuxbbq

    Wtfuxbbq Peon

    Messages:
    61
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Simply remove the following line from your css

    background: #fc6;
    Code (markup):
     
    Wtfuxbbq, May 26, 2010 IP
    high1 likes this.
  3. high1

    high1 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello Wtfuxbbq

    Great, that worked.

    Many thanks!

    High1
     
    high1, May 27, 2010 IP