Saturday, 7 September 2013

How to get CodeIgnitor to output bootstrap layout on the welcome page?

How to get CodeIgnitor to output bootstrap layout on the welcome page?

I just keep getting a blank page on my welcomePage.php file that is in the
"views" section.
Now I've already transferred the necessary bootstrap folders into the
"assets" folder within codeIgnitor. I've also included the folder path of
the needed files. But I just get a blank page.
Here's what the code of my view's welcome page looks like:
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="<?php echo base_url("assets/styles/bootstrap.min.css");?>"
rel="stylesheet" media="screen">
</head>
<body>
<script src="http://code.jquery.com/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<div class="navbar">
<div class="navbar-inner">
<a class="brand" href="#">Title</a>
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
</div>
</div>
</body>

No comments:

Post a Comment