Menu bar dropping down

I am in the process of cleaning up a wesbite. The code is sloppy so half of it is indenting and half is organizing pages to where you can more easily discern what is going on.

Please view the rates page, the menu bar drops down to over half the page only on this page. I would debug this but unfortunately I am going to be stuck cleaning up some stuff and writing better PHP.

https://onedrive.live.com/redir?resid=7FB96273479EB051!3931&authkey=!AIE3kdtZ65qsyZ4&ithint=file%2czip
burnedfacelessAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MurfurFull Stack DeveloperCommented:
It is because the rates page has the 'maxwidth' masthead banner contained within the navigation layer due to there being no closing </div> before the line <div class = "maxwidth">. Add </div> and it will be fine, see example:

	<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
		<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href = "../" >Consolidated Utilities</a>
			</div>
			<div class="collapse navbar-collapse">
				<ul class="nav navbar-nav">
					<li><a href="../about/">About Us</a></li>
					<li><a href = "../billing/">Billing</a></li>
					<li><a href="../affiliatedsystems/">Affiliated Sytems</a><li>
					<li class = "active"><a href="../rates/">Rates</a></li>
					<li><a href="../conservation/">Conservation Efforts</a></li>
					<li><a href="../contact">Contact</a></li>
				</ul>
			</div><!--/.nav-collapse -->
		</div>
	<!-- ///////// ADD THIS ////////// -->
	</div>
	<!-- //////////////////////////// -->
	<div class = "maxwidth">
		<div class="container">
			<div class="starter-template">
				<img src = "../images/logo.jpg" height = "120" width = "196" id = "logo"> 

				<h1 id = "heading">Rates</h1>
				<br/>
				<br/>
				<hr>
				<noscript>This page requires JavaScript to function.</noscript>
				<div id = "noJavaScript">
					<form>
						<p>Select your subdivision</p>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.