Jump to content

Can Some One Help Me Out!


K.P Webdesign

Recommended Posts

I am creating my first website and I need a little bit of help, I have created my navigation bar and i want to put content underneath the nav bar no matter what I try there is a gap between my nav bar and the section  underneath  i need to make the white and blue to touch Many thanks Kieran image.thumb.png.8415a15c0b008f94355bba09cb7d5936.png

Link to comment
Share on other sites

We may have more luck helping if you provided a bit of your code that shows the problem.

Currently I'm thinking its a Margin or Padding issue.

Link to comment
Share on other sites

It looks like a case of collapsing margins. The quick solution is to set "overflow: hidden" on the content container. The better solution is to give the container a ::before pseudo-element with "display: table".

 

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...