How do I remove space between header and navigation bar?

How do I remove space between header and navigation bar?

The gap you see, is because of the top-margin of the h1 in the header. So you can set the top margin of that h1 to 0 to remove the gap. removig the border.

How do I remove space between header and section in HTML?

If you want to remove all space between a heading and the paragraph that follows it, you have to remove the bottom margin from the heading and the top margin from the paragraph. The easiest way is to simply assign a negative bottom margin to the heading.

How do I add a space between header elements?

How do I add space between header and body in Word?

  1. Open the header for editing.
  2. Select the header text.
  3. Open the paragraph properties.
  4. Highlight the paragraph and set Spacing to 8pt (you will have to type the value).

How do I add a space to my navigation bar in HTML?

First start by declaring a width and some margin spacing for the navigation bar.

  1. /* Give the body a width */
  2. body {
  3. width: 100%;
  4. max-width: 960px;
  5. margin: 0 auto; }
  6. /* Make the nav take up the whole body width, and give it some top and bottom margin space */
  7. nav {
  8. width: 100%;

How do I remove the space between menu and content in WordPress?

Increase/decrease the value of margin-top to increase/decrease the amount of margin between the content and the menu. Please note that increments/decrements of 0.1 are enough to have an impact e.g. 0.9em, 0.8em, etc.

How do I reduce space between header and body?

Adjusting your report body closer to the header

  1. Use File > Page Setup to access your layout settings.
  2. Click Customize for your header/footer document to edit it.
  3. While editing the document, click Insert > Header to access that area.
  4. Reduce any blank or empty space in your header that is below your information.

How do I reduce the space between lines in my header?

  1. Select the “Paragraph” group on Word’s Home tab to open your paragraph settings.
  2. Choose the “Indents and Spacing” tab, then select the drop-down box below the Line Spacing header to reduce your line spacing or to choose a custom line spacing, as per your preference.

How do I reduce the header space in Word?

How to Remove the Space Between a Header in a Word Document

  1. Place the cursor at the end of the header in the document.
  2. Click “File” from the top menu and then select “Page Setup.”
  3. Select the “Margins” tab from the Page Setup properties window.
  4. Decrease the “Top Margin” value in the Margins properties.

How do you put a space between two NAV items?