Link to home
Start Free TrialLog in
Avatar of Bob Schneider
Bob SchneiderFlag for United States of America

asked on

Bootstrap/CSS Spacing issue

Can anyone tell me why I have a space between my horizontal nav bar and my content on this page?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bob Schneider

ASKER

That is a link to the bootstrap source code.  Is it advisable to download it and link to it internally?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can add an 'inline' style to over-ride it.
<div class="navbar navbar-default" role="navigation" style="margin-bottom: 1px">

Open in new window

Hi,

There is an error on line 2
Uncaught SyntaxError: Unexpected token <
http://www.etraxc.com/dist/js/bootstrap-submenu.min.js

Open in new window


I have checked your code why are you putting all your HTML into a JS file?
You probably have a reason for this but this is strange to me...

You can use #include for your menu part on each page instead of putting html into JS file.
I will revisit all of these suggestions and start "learning" how to use the console to debug my scripts.  You folks are so patient.  I appreciate it very much.