Skip navigation
Currently Being Moderated

When I style my img - I get unwanted gap.

Oct 29, 2013 7:00 AM

When I style my img (specifically, the image in the left green column), all of a sudden I get a gap directly above my navigation panel. I've deleted and tried redoing, and I don't know how to get rid of the gap. I likely need someone to tell me how to correctly style that left graphic. Trying to float it left with some right padding. http://www.duenorthdesign.com/christmas/index2.html

 
Replies
  • Currently Being Moderated
    Oct 29, 2013 7:07 AM   in reply to duenorth09

    try adding to your css

     

    img {

    display: block;

    }

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 29, 2013 7:10 AM   in reply to osgood_

    You'll need to add...

     

    display:block;

    float:left;

     

    To those 3 images within the #header <div>, and add...

     

    overflow:hidden;

     

    to the #header itself to keep it from collapsing.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points