Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to remove white space between divs?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29897
    clockwork
    Member

    hello all,

    i’ve been following the site trying to learn html..

    i’ve come across something i cannot wrap my head around how to fix.. there is a annoying white space between the navbar and body. does anybody know how to remove it?

    #81408
    Danny9
    Member

    Margins, padding, borders…

    look for anything in your css or html adding pixels/space to either the nav or the body

    And this probably happens to everyone when they first start with css!

    One thing to do while you are learning is experiment by attempting to increase the gap – add pixels to borders, margins and see what happens – get used to pushing Divs around.

    #81409
    visualsindia
    Member

    Thanks for posting,

    I thing White space depends upon padding, margin and word wrap tag on DIV, Let you show layout DIV CODE or you will try of this methods….

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.