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?
This reply has been reported for inappropriate content.
It depends what your layout looks like, but that is probably due to extra margin or padding. Do you have a URL or some code that you’re working with?
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.
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….
You must be logged in to reply to this topic.