Copy link to clipboard
Copied
I am designing a new website using bootstrap.css
In live view everything looks great.
However, when I preview in any browser(chrome,firefox,IE) I get a complete mess. Fluid columns are not displayed correctly, menus aren't working...nothing. I have tried eliminating elements one by one..and still it will not work.
I am completely stumped.
Here is the code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Untitled Document</title>
<!-- Bootstrap -->
<link href="file:///D|/Programming/Web Development/Jawsurgeon Bootstrap Web Site/css/bootstrap.css" rel="stylesheet">
<link href="file:///D|/Programming/Web Development/Jawsurgeon Bootstrap Web Site/css/MyCustomStyles.css" rel="stylesheet" type="text/css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body style="padding-bottom: 10px">
<!--Fluid container Banner Heading-->
<div id ="responsive-banner" class="container-fluid">
<div clas="container">
<div class="row">
<div id="logoimage" class="col-sm-6 col-lg-2"><img src= "images/LogoImage.png" alt="NWOS Logo" width="148" height="380" class="img-responsive">
</div>
<div class="col-sm-6 ">
<h1 i> Some stuff</h1>
<h3> Some stuff</h3>
<h3> Some stuff</h3>
<h3 > Some stuff</h3>
</div>
</div>
</div>
</div>
<!--End Banner Heading -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-1.11.3.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src= "js/bootstrap.js"></script>
</body>
</html>
When I see
<link href="file:///D|/Programming/Web Development/Jawsurgeon Bootstrap Web Site/css/bootstrap.css" rel="stylesheet">
it immediately shows me that you have not correctly completed the site setup. Please see How to make a website in Dreamweaver part 1, site setup | Adobe Dreamweaver CC tutorials
Copy link to clipboard
Copied
When I see
<link href="file:///D|/Programming/Web Development/Jawsurgeon Bootstrap Web Site/css/bootstrap.css" rel="stylesheet">
it immediately shows me that you have not correctly completed the site setup. Please see How to make a website in Dreamweaver part 1, site setup | Adobe Dreamweaver CC tutorials
Copy link to clipboard
Copied
Here is the fix;
Your comment not withstanding;
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/MyCustomStyles.css" rel="stylesheet" type="text/css">
..and for what it's worth I did indeed complete the site setup correctly...
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more