Why is page empty?

!DOCTYPE html>

<html>
<head>
<meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="W3.css">
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
 <style>
.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}
.wrapper{
  max-width:1100px;
min-width:900px;
  margin:0 auto;
  
}
</style>
<title>Show LS250</title>

</head>
<body>
<div id="container" style="visibility: hidden;"> 
<div class="wrapper">
<form method="post" name="st" action="projectsn.php">
<input type="hidden" name="pdir" value="doc_files/">
<input type="hidden" name="pdrawing" value="">
<input type="hidden" name="pbrochure" value="">
<input type="hidden" name="pspec" value="">
<input type="hidden" name="pvid" value="12062">
<div class="container-fluid">
<script>
	page = location.pathname.substring(1);
	pq = page.indexOf("?");
	if (pq != -1) {
		page = page.substr(0,pq);
	}
	if (page.substr(0,4) == "dev/") {
		ln = page.length;
		page = page.substr(4,ln-4);
	}	
	function chk_link_msg() {
		ok = false;
		if (page == "projects.php" || page == "main.php" || page == "summary.php") {
			ok = true;
		}		
		if (! ok) {
			jj = confirm("Going to My Projects will loose the current configuration. OK?");
			if (!jj) {
				return false;
			}
		}
		return true;
	}
</script>	
<div class="row hidden-xs">
<div class="col-sm-4 col-xs-4"><a href = "http://www.lakos.com/hvac.htm" border="0" target="_blank"><img src="images/logo.jpg" class="img-responsive"></a></div>
<div class="col-sm-1 col-xs-1 text-center" style="color:#0C63A9;"><a href="main.php"><h4>Home</h4></a></div>
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="projects.php" onClick="return chk_link_msg();"><h4>My Projects</h4></a></div>
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="http://www.lakos.com/About/contact-us" target="blank"><h4>Contact LAKOS</h4></a></div>
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="profile.php" onClick="return prof_window();"><h4>Profile</h4></a></div> 
<div class="col-sm-1 col-xs-1 text-center" style="color:#0C63A9;"><a href="logout.php"><h4>Logout</h4></a></div>
</div>
<div class="row visible-xs">
<div class="col-sm-4 col-xs-4"><a href = "http://www.lakos.com/hvac.htm" border="0" target="_blank"><img src="images/logo_sm.jpg" ></a></div>
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="main.php"><h5>Home</h5></a></div>
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="http://www.lakos.com/About/contact-us" target="blank"><h5>Contact LAKOS</h5></a></div>
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="profile.php" onClick="return prof_window();"><h5>Profile</h5></a></div> 
<div class="col-sm-2 col-xs-2 text-center" style="color:#0C63A9;"><a href="logout.php"><h5>Logout</h5></a></div>
</div><div class="row">
	<div class="col-sm-12 col-xs-12" style="padding-top:3px;">&nbsp;</div>
</div>
<div class="row">
	<div class="col-sm-12 col-xs-12 text-center" style="padding-top:2px; padding-bottom:2px; background-color:#0A2F98; color: white; font-size:20px"><b>HT Product Configurator</b></div>
</div>	
<div class="row">
	<div class="col-sm-11 col-xs-11" style="padding-top:10px; padding-left:50px; padding-bottom:10px;font-size:22px"><b>Final Summry with LS-260:</b></div>
</div>
<div class="row">
	<div class="col-sm-11 col-xs-11" style="padding-top:10px; padding-left:50px; padding-bottom:10px;font-size:22px"><a href="https://www.lakoshvac.com/summaries/12062summary.pdf">Click here for pdf</a></div>
</div>
<div class="row">
	<div class="col-sm-11 col-xs-11" style="padding-top:10px; padding-left:50px; padding-bottom:10px;font-size:22px"><input type="submit" value="Cancel"></div>
</div>
</div>
</form>
</div>
</div>
</body>
</html>

Open in new window


Why does this page produce a TOTALLY empty page in the browser? This is from view source. Does the same on FireFox & Chrome.
Richard KortsAsked:
Who is Participating?
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Because of <div id="container" style="visibility: hidden;">
1
 
Richard KortsAuthor Commented:
Thanks, that was a duh! I should have seen, I copied that from elsewhere.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Easy to miss, happy to be your rubber duck
330px-Rubber_duck_assisting_with_deb.jpg
0
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.

All Courses

From novice to tech pro — start learning today.