Skip to main content
Participant
January 3, 2017
Answered

Browser Preview Not Working

  • January 3, 2017
  • 1 reply
  • 1402 views

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>

This topic has been closed for replies.
Correct answer BenPleysier

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

1 reply

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
January 3, 2017

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

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
aordenAuthor
Participant
January 4, 2017

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...