div margin

Discussion in 'Web Design' started by Glenn, Jul 8, 2018.

to remove all ads.
  1. Glenn

    Glenn Member

    Messages:
    202
    I've created a div over another div. The top div has a margin-bottom: 0px; The bottom div has a margin-top: 0px;

    Why is there about 15 px between the?
     
  2. Glenn

    Glenn Member

    Messages:
    202
    aspecialspot.com

    between the image and nav
     
  3. chrishirst

    chrishirst Well-Known Member Staff Member

    Messages:
    2,668
    Put different coloured borders around each element so you can see where each one starts and ends.
     

Share This Page