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

Formatting problem template does not fill browser

New Here ,
Jul 28, 2017 Jul 28, 2017

I have finished a template in dreamweaver but when I open it in my web browser, the format is wrong and the template does not fill the browser. Parts are spliced all over the place and some of the template is missing. spliced.jpg

824
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 , Jul 29, 2017 Jul 29, 2017

The original single-page-template works just fine.  It does not fill the entire viewport on desktop but it works as expected & is responsive on small devices.  

Compare the original code below with yours & note the differences.

<!doctype html>

<html lang="en-US">

<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>Light Theme</title>

<link href="css/singlePageTemplate.css" rel="stylesheet" type="t

...
Translate
Community Expert ,
Jul 28, 2017 Jul 28, 2017

Screenshots are better than posting 3.7MB JPG photos of your screen.

https://support.microsoft.com/en-au/help/13776/windows-use-snipping-tool-to-capture-screenshots

Or post the code here. This issue is code driven.

Even better if you upload the problem page to a web location and post the web address so we can take a look.

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 ,
Jul 29, 2017 Jul 29, 2017

I don't know how to upload it so I took screenshots code.PNGcode 2.PNGcode3.PNG

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
Community Expert ,
Jul 29, 2017 Jul 29, 2017

When in code view,

  1. hit CTRL + A
  2. hit CTRL + C
  3. click on the Reply button at the right hand bottom of this post
  4. click inside the new dialog
  5. hit CTRL + V
  6. click on Add Reply
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 ,
Jul 29, 2017 Jul 29, 2017

The original was written in HTML5 and I rewrote it in HTML4.01 and it looks a little better but it's stillconnect 3.PNGconnect 3 two.PNG cut and pasted all over the browser. The logo at the top should stretch across the screen. And the bullet points aren't lined 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
New Here ,
Jul 29, 2017 Jul 29, 2017

<!doctype html>

<html lang="en-US">

<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>Light Theme</title>

<link href="../Documents/css/singlePageTemplate.css" rel="stylesheet" type="text/css">

<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->

<script>var __adobewebfontsappname__="dreamweaver"</script>

<script src="http://use.edgefonts.net/source-sans-pro:n2:default.js" type="text/javascript"></script>

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

<!-- Main Container -->

<div class="container">

  <!-- Navigation -->

  <header><img src="../Pictures/notification 2.png" width="890" height="163" alt=""/> <a href="">

    <h4 class="logo">ConnectWise

    Notification</h4>

    </a>

    <nav>

      <ul>

      </ul>

    </nav>

    <h2><strong> RE: Mapping a Network Drive</strong></h5>

  </header>

<!-- About Section -->

  <section class="about" id="about">

  <h2 class="hidden">About</h2>

    <h2 class="text_column"><strong>Hello! <br>

    </strong></h2>

  

    <h3 class="text_column"> As per your inquiry to connect to map a network drive this step by step guide will enable you to do so. </h3>

    <p class="text_column"> <li>1. To map a network drive, you must use the search box which can be found by clicking on either the Start button or the Windows icon on your computer.

<li> 2. Using your search box, type This PC into the box and select This PC from the list of results</li>

<li> 3. Click on the computer tab which is located next to the File tab.</li>

<li> 4. In the Network section you will find ‘map a network drive’ seen in the image below, click on it – doing so will open a window. </li>  <br>

<img src="../Pictures/map.PNG" width="593" height="332" alt=""/>

<h4 class="text_column"> photo cred. http://devnet.kentico.com/docs/7_0rc/devguide/index.html?webdav_mapping_a_network_drive.htm </h2> <br>

<li> 5. Select a letter from the Drive dropdown menu. </li>

<li>6. For the box labeled Folder, click the Browse button and select the folder that you want to map. </li>

<li>7. Click the finish button as seen in the image below. </li>

<strong><img src="../Pictures/finish.png" width="440" height="322" alt=""/></strong>

<h4 class="text_column"> photo cred. http://devnet.kentico.com/docs/7_0rc/devguide/index.html?webdav_mapping_a_network_drive.htm </h4>

<h3 <li>9. You have now successfully mapped your drive and it can be found under "This PC". From here you can connect to a shared network folder. </li>  </h3>

</p>

<h3> Thank you for your inquiry I hope this email was helpful. If you have any questions, please let me know.</h3>

<img src="../Pictures/blue line.PNG" width="850" height="9" alt=""/>

<h2> Sincerely,</h2>

<h2> Patricia Pothier </h2>

<h2> REFERENCES </h2>

<h3 class="text_column">

   <li>1. file:///C:/Users/Admin/Downloads/Candidate_Email_Test.html</li>

   <li>2. https://www.laptopmag.com/articles/map-network-drive-windows-10</li>

   <li>3. http://devnet.kentico.com/docs/7_0rc/devguide/index.html?webdav_mapping_a_network_drive.htm</li></h3>  

</section>

  <!-- Stats Gallery Section -->

  <!-- Parallax Section -->

  <section class="banner">

    <h1 class="parallax">ConnectWise</h2>

  <h1 class="parallax_description">Make every day a little easier with ConnectWise on your business journey.</h1>

  </section>

  <!-- More Info Section -->

  <!-- Footer Section -->

  </section>

  <!-- Copyrights Section -->

  <div class="copyright">&copy;2015 - <strong>Light Theme</strong></div>

</div>

<!-- Main Container Ends -->

</body>

</html>

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
Community Expert ,
Jul 29, 2017 Jul 29, 2017

I think the display problems are to investigate inside the file:

singlePageTemplate.css

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
Community Expert ,
Jul 29, 2017 Jul 29, 2017
LATEST

The original single-page-template works just fine.  It does not fill the entire viewport on desktop but it works as expected & is responsive on small devices.  

Compare the original code below with yours & note the differences.

<!doctype html>

<html lang="en-US">

<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>Light Theme</title>

<link href="css/singlePageTemplate.css" rel="stylesheet" type="text/css">

<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.-->

<script>var __adobewebfontsappname__="dreamweaver"</script>

<script src="http://use.edgefonts.net/source-sans-pro:n2:default.js" type="text/javascript"></script>

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

<!-- Main Container -->

<div class="container">

<!-- Navigation -->

<header> <a href="">

<h4 class="logo">LIGHT</h4>

</a>

<nav>

<ul>

<li><a href="#hero">HOME</a></li>

<li><a href="#about">ABOUT</a></li>

<li> <a href="#contact">CONTACT</a></li>

</ul>

</nav>

</header>

<!-- Hero Section -->

<section class="hero" id="hero">

<h2 class="hero_header">HERO <span class="light">LIGHT</span></h2>

<p class="tagline">Light is a simple one page website</p>

</section>

<!-- About Section -->

<section class="about" id="about">

<h2 class="hidden">About</h2>

<p class="text_column">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>

<p class="text_column">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>

<p class="text_column">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>

</section>

<!-- Stats Gallery Section -->

<div class="gallery">

<div class="thumbnail">

<h1 class="stats">1500</h1>

<h4>TITLE</h4>

<p>One line description</p>

</div>

<div class="thumbnail">

<h1 class="stats">2300</h1>

<h4>TITLE</h4>

<p>One line description</p>

</div>

<div class="thumbnail">

<h1 class="stats">7500</h1>

<h4>TITLE</h4>

<p>One line description</p>

</div>

<div class="thumbnail">

<h1 class="stats">9870</h1>

<h4>TITLE</h4>

<p>One line description</p>

</div>

</div>

<!-- Parallax Section -->

<section class="banner">

<h2 class="parallax">PARALLAX HERO</h2>

<p class="parallax_description">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam</p>

</section>

<!-- More Info Section -->

<footer>

<article class="footer_column">

<h3>ABOUT</h3>

<img src="images/placeholder.jpg" alt="" width="400" height="200" class="cards"/>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla </p>

</article>

<article class="footer_column">

<h3>LOCATION</h3>

<img src="images/placeholder.jpg" alt="" width="400" height="200" class="cards"/>

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla </p>

</article>

</footer>

<!-- Footer Section -->

<section class="footer_banner" id="contact">

<h2 class="hidden">Footer Banner Section </h2>

<p class="hero_header">FOR THE LATEST NEWS & UPDATES</p>

<div class="button">subscribe</div>

</section>

<!-- Copyrights Section -->

<div class="copyright">&copy;2015 - <strong>Light Theme</strong></div>

</div>

<!-- Main Container Ends -->

</body>

</html>

Nancy O'Shea— Product User, Community Expert & Moderator
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
Community Expert ,
Jul 29, 2017 Jul 29, 2017

Use the Validation tool to check your code for errors.  You have quite a few.  Code errors will definitely effect display in DW and browsers.  Your goal should be to work with error free code at all times.

CC-error-indicators.jpg

CC-BugReport.jpg

Incidentally, HTML5 is the current web standard.  Why do you think you need HTML4?

Nancy

Nancy O'Shea— Product User, Community Expert & Moderator
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