Copy link to clipboard
Copied
For some reason Adobe Dreamweaver cc 2017's Template is showing up distorted. I'm choosing the Basic Layout Template and the 400x200 green graphic is stretching. This is before I saved it.
I did a test save and deleted them. This should not have anything to do with the new template from Dreamweaver.
Any suggestions?
In addition, what happens when I choose "Save All" after I open a Dreamweaver Template?
Thanks
The file path shows your site is not defined.
<img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" width="100" alt="" class="thumbnail"/>
If it were defined, DW would reconcile the file path and point to assets in your local site folder like this:
<img src="images/bkg_06.jpg"
DW's Design View is not a browser. It's mainly for quick editing of content and should not be rega
...Copy link to clipboard
Copied
When you say Template, I assume you mean the starter pages?
If you haven't already, define a local site folder. That's a critical 1st step for working with DW.
Go to Site > New Site...

Go to File > New > Starter Templates. Pick one of the responsive starter pages. Hit Create. Them immediately Save your file as index.html.

After saving, DW creates Assets folders for you in your Local Files Panel. See screenshot.

To preview your work, hit F12 (Real-Time Preview) or right click on the open tab and select Open in Browser.

Copy link to clipboard
Copied
zThanks! ![]()
Yes, I made sure I had the site selected. However, I did not do that at first.
I saved the template and it's files to my new site. It shows up normally on each browser. However, it shows up distorted on my Mac from within Dreamweaver. Below are the screenshots.
As seen in Dreamweaver

As seen in browsers

Copy link to clipboard
Copied
Please make us privy to the markup and style rules by preferably uploading the site and supplying the URL or by copying and pasting the code here.
Copy link to clipboard
Copied
As I stated, the starter page looks normal when I preview it in a browser but it distorted where the large place holder in within my Mac.
<!doctype html>
<html>
<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>Simple Theme</title>
<link href="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/css/multiColumnTemplate.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>
<div class="container">
<header>
<div class="primary_header">
<h1 class="title"> SIMPLE</h1>
</div>
<nav class="secondary_header" id="menu">
<ul>
<li>ABOUT</li>
<li>WORK</li>
<li>PORTFOLIO</li>
<li>SERVICES</li>
<li>CLIENTS</li>
<li>CONTACT</li>
</ul>
</nav>
</header>
<section>
<h2 class="noDisplay">Main Content</h2>
<article class="left_article">
<h3>content heading</h3>
<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 pariatur.</p>
<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 pariatur.</p>
</article>
<aside class="right_article"><img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/placeholder.jpg" alt="" width="400" height="200" class="placeholder"/> </aside>
</section>
<div class="row">
<div class="columns">
<p class="thumbnail_align"> <img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" alt="" class="thumbnail"/> </p>
<h4>TITLE</h4>
<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.</p>
</div>
<div class="columns">
<p class="thumbnail_align"> <img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" alt="" class="thumbnail"/> </p>
<h4>TITLE</h4>
<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.</p>
</div>
<div class="columns">
<p class="thumbnail_align"> <img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" alt="" class="thumbnail"/> </p>
<h4>TITLE</h4>
<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.</p>
</div>
<div class="columns">
<p class="thumbnail_align"> <img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" alt="" class="thumbnail"/> </p>
<h4>TITLE</h4>
<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.</p>
</div>
</div>
<div class="row blockDisplay">
<div class="column_half left_half">
<h2 class="column_title">LEFT COLUMN</h2>
</div>
<div class="column_half right_half">
<h2 class="column_title">RIGHT COLUMN</h2>
</div>
</div>
<div class="social">
<p class="social_icon"><img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" width="100" alt="" class="thumbnail"/></p>
<p class="social_icon"><img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" width="100" alt="" class="thumbnail"/></p>
<p class="social_icon"><img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" width="100" alt="" class="thumbnail"/></p>
<p class="social_icon"><img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" width="100" alt="" class="thumbnail"/></p>
</div>
<footer class="secondary_header footer">
<div class="copyright">©2015 - <strong>SIMPLE Theme</strong></div>
</footer>
</div>
</body>
</html>
mypersonalnamedeleted
Copy link to clipboard
Copied
The code shows that you have not defined and saved your site.
Defining a site and saving your site in Dw is an essential step required by Dw in order for it to work correctly.
Copy link to clipboard
Copied
I created a New Site and saved the files to that site.
How can you tell I did not define the site by looking at the code?
Thanks for your help.
Copy link to clipboard
Copied
Your file links are all pointing to your Dw config folder, and not a defined site.
Creating a new site is not the same as defining a site in Dw. If you look at Nancy's post did you follow the steps shown?
Copy link to clipboard
Copied
The file path shows your site is not defined.
<img src="file:///Macintosh HD/Users/mypersonalnamedeleted/Library/Application Support/Adobe/Dreamweaver CC 2017/en_US/Configuration/Temp/Assets/eam119187a5.TMP/images/bkg_06.jpg" width="100" alt="" class="thumbnail"/>
If it were defined, DW would reconcile the file path and point to assets in your local site folder like this:
<img src="images/bkg_06.jpg"
DW's Design View is not a browser. It's mainly for quick editing of content and should not be regarded is a reliable rendering. At best, it's an approximation because it has not been updated since Macromedia days and cannot handle advanced CSS.
Nancy
Copy link to clipboard
Copied
Thanks for the info. I believe I did to correctly this time. However, I still see the page differently from View Live to View Design.
Is it supposed to be that way?
Copy link to clipboard
Copied
AnotherMe wrote
I still see the page differently from View Live to View Design.
Is it supposed to be that way?
YES.
Design View is not WYSIWYG.
Live View is closer to the "real thing" but not perfect.
Preview in Browser is the best way to check your progress.
Copy link to clipboard
Copied
I think I found the answer. But the answer brings up another question.
When I select Live the starter page displays the place holder the way it should look.
When I select Design the placeholder stretches and is distorted.
Is this a CSS issue? Can anyone explain why this is happening?
Thanks for your help.

Copy link to clipboard
Copied
Design view uses a very old interpretation of how a sites layout will look, and is not very accurate, it should never be used for modern layouts.
Always use live view, to see how your page looks, or even better an actual browser as live view uses a version of Chrome adapted for in app usage, and is not up to date.
Copy link to clipboard
Copied
The same issue of the template live view and template design view happens on my workstation at work. So it looks like everything is fine...
Find more inspiration, events, and resources on the new Adobe Community
Explore Now