K.P Webdesign Posted April 12, 2019 Share Posted April 12, 2019 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 Link to comment Share on other sites More sharing options...
dsonesuk Posted April 12, 2019 Share Posted April 12, 2019 Hi Mr Jones the car mechanic, I have a problem with my car, would you mind looking at this photo of it and fixing it. Link to comment Share on other sites More sharing options...
Funce Posted April 14, 2019 Share Posted April 14, 2019 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 More sharing options...
Ingolme Posted April 15, 2019 Share Posted April 15, 2019 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 More sharing options...
Abhisek Pandey Posted April 19, 2019 Share Posted April 19, 2019 Tr showing some of your code here it might be due to the margin of the top div or the padding or margin of the bottom div. Link to comment Share on other sites More sharing options...
ishan_shah Posted July 9, 2019 Share Posted July 9, 2019 Hello, You may have given a <br> in between or it may be like there is a div tag in between navbar and that div. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now