Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Browser Preview Not Working

New Here ,
Jan 02, 2017 Jan 02, 2017

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>

1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 02, 2017 Jan 02, 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

Translate
Community Expert ,
Jan 02, 2017 Jan 02, 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!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 03, 2017 Jan 03, 2017
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines