Skip to main content
benn25106859
Known Participant
Jan 27, 2017 9:40 PM UTC
Answered

Website doesn't look as it should

I am just trying out some website designs and when I test the html file locally it looks as it should:

However when I uploaded the site to the domain using Dreamweaver, it looks different and didn't work properly:

(If you wan to see for yourself, go to gamecanvas.co.uk)

Here is the code:

<!DOCTYPE html>

<html lang="en">

<head>

<!-- Required meta tags -->

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->

<link rel="stylesheet" href="css/bootstrap.min.css" style="css/text">

</head>

<body>

<nav class="navbar fixed-top navbar-toggleable-md navbar-inverse bg-inverse">

  <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>

  <a class="navbar-brand" href="#"> <img src="assets/logowhite.png" width="30" height="30" class="d-inline-block align-top" alt=""> Game Canvas </a>

  <div class="collapse navbar-collapse" id="navbarSupportedContent">

    <ul class="navbar-nav mr-auto">

      <li class="nav-item active"> <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a> </li>

      <li class="nav-item"> <a class="nav-link" href="#">Link</a> </li>

      <li class="nav-item"> <a class="nav-link" href="#">Link 2</a> </li>

    </ul>

    <form class="form-inline my-2 my-lg-0">

      <input class="form-control mr-sm-2" type="text" placeholder="Search">

      <button class="btn btn-outline-primary my-2 my-sm-0" type="submit">Search</button>

    </form>

  </div>

</nav>

<div class="container">

  <div class="row">

    <div class="col">

      1

    </div>

    <div class="col">

      2

    </div>

    <div class="col">

      3

    </div>

  </div>

</div>

<!-- jQuery first, then Tether, then Bootstrap JS. -->

<script src="js/jquery-3.1.1.min.js"></script>

<script src="js/tether.min.js"></script>

<script src="js/bootstrap.min.js"></script>

</body>

</html>

    This topic is closed to new replies. Start a new post to keep the conversation going.
    BenPleysier
    BenPleysierCorrect answer
    Community Expert
    Jan 28, 2017 3:52 AM UTC

    The only difference I get is the search field which is larger in Chrome than it is in FF. For the rest it looks great in both browsers.

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

    4 replies

    Nancy OShea
    Community Expert
    Community Expert
    Jan 27, 2017 11:49 PM UTC

    Looks OK to me in Firefox (50.1.0).

    Which browsers are you using?

    Translate
    Nancy O'Shea— Product User & Community Expert
    benn25106859
    Known Participant
    Jan 28, 2017 1:57 AM UTC

    Chrome, the latest update (56.0.2924). Also I tried it on microsoft edge and it worked fine, so I'm guessing it's something wrong with chrome.

    Translate
    BenPleysier
    Community Expert
    BenPleysierCommunity ExpertCorrect answer
    Community Expert
    Jan 28, 2017 3:52 AM UTC

    The only difference I get is the search field which is larger in Chrome than it is in FF. For the rest it looks great in both browsers.

    Translate
    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!