deostroll
deostroll

Reputation: 11995

unable to get rid of space between header

This seems to be a css problem. I have tried setting the margin, line-height, etc. But I can't close the gap between the header and the angular view - which is in body directly. Please refer plunk share here.

enter image description here Plunk: http://plnkr.co/edit/f6ILSWZzzufR4q3qrTW0?p=preview

Upvotes: 1

Views: 73

Answers (4)

Manube
Manube

Reputation: 5242

<nav class="navbar navbar-default" style="margin:0">

does it

Upvotes: 1

codeepic
codeepic

Reputation: 4122

Here's the working solution

Basically, you need to add margin-bottom: 0; to <nav class="navbar navbar-default">

Upvotes: 1

priya786
priya786

Reputation: 1834

in your navbar remove the margin-bottom from css where you define like this

.navbar
{
position: relative;
min-height: 50px;
/* margin-bottom: 20px;  Remove this from css*/
border: 1px solid transparent;
}

i hope it may help you thanks

Upvotes: 2

matthijsb
matthijsb

Reputation: 909

The navbar class has a margin-bottom of 20px

Upvotes: 4

Related Questions