Dreamweaver Tutorial
Dreamweaver Tutorial
org/dreamweaver-tutorial/
websitesetup.org
As you know, this site is all about how to make a website. You can
learn different ways using either WordPress, Joomla or Drupal. We
even have a guide on using pure HTML like in the old days
(obviously with HTML5, the latest version). In this Dreamweaver
tutorial for beginners, you will learn another one.
This will be a long ride. However, you will be amazed at how quickly
you will get into this very intuitive program.
1 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
The visual design toolbox basically lets you build websites with your
mouse. It allows you to place website elements the way you create
a layout in Word. Basically, you see your website as you would see
in a browser but also have the ability to manipulate it.
2 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
There are a lot more features and you will see many of them in
action in the upcoming Dreamweaver tutorial for beginners.
3 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
client.
When you get the program from the official website, just download
the installation file, execute it and follow the instructions.
If you are already using Creative Cloud (as I am), you can simply
click Try inside the client. Then, when the program is done
installing, click Start Trial.
First Startup
When you first start Dreamweaver, you will see this screen.
If you have never used the program before, choose No, I’m new.
When you do, Dreamweaver leads you through a setup wizard. The
first step is to choose whether to use the workspace for developers
or a standard workspace.
4 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
The final step is choosing whether to start with a sample file, new or
existing project or watch a tutorial.
5 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Choose to start with a new or existing folder and you are done with
the setup process. Good job!
Now let’s start a project and learn how to create a website with
Dreamweaver.
The first step is to create a new site. For that, go to Site > New Site.
It will get you to this screen:
6 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
The first step is to give your site a name. Then, you need to choose
where to save it. This is up to you, but it usually makes sense to
keep all projects in one place for the simplicity.
You also have the possibility to associate your new project with a
Git repository. This can be a good idea since it gives you version
control but you can skip it for now.
We will deal with everything under Servers on the left side later.
Same with CSS Preprocessors, which is only important when you
use that kind of thing.
Be sure to click on the folder icon on the right where it says Default
7 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Now that you have created a project site, it’s time for the first file.
We will start with the homepage.
If Dreamweaver doesn’t offer you the option itself, go to File > New.
You can either create a completely new file or use an existing
template. The program comes with a few of those (see Starter
Templates). Right now, we will create a new one instead.
HTML is set by default and you can leave that as is. For document
title, input index.html and choose Create. This will get you on the
following screen.
8 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
3. Create a Header
To insert an element into the page, you first need to choose its
location. Either click on the empty page (Dreamweaver will
automatically choose the <body> element if you do) or place the
cursor in the same element in the code portion of the screen.
After that, you need to go to the Insert tab in the upper right corner.
This gives you a list of common HTML and site elements that you
can add to your page. Scroll down until you can see Header as an
option.
A simple click inserts it into the page. You also see it appear inside
9 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Simple, right?
Now you will change the text inside the header and also turn it into
a heading. For both – first mark the text in the code editor at the
bottom.
After that, go back to Insert, click on the arrow next to Heading and
choose H1. This wraps the page title into an H1 HTML tag. For
more information on heading tags, read this article.
After that, you can also type in a title for your page. In your real
website, you would choose something descriptive with keywords
10 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Alright, you have just created a page header! At the moment it still
looks a little crude, so let’s change that via CSS next.
In case you are not familiar with it, CSS is the part that provides all
the styling on a web page. It allows you to define colours,
dimensions of elements, font types and sizes and a hell lot more.
We want to use the markup to spruce up our page title and also
learn how to change CSS in Dreamweaver.
Theoretically, you can add CSS right inside the HTML document.
There is a lot less elegant option that what we will do, which is
creating a dedicated file for all the CSS styling of the entire site.
The first step is to give your new header a CSS class or id. During
that process, Dreamweaver will also prompt you to create a style
sheet file. Go to the DOM menu in the lower right part of the screen
that lists your entire site structure. Make sure your header is
selected.
In the live view, you will now see it marked in blue with a little label
and a plus sign at the bottom.
Click the plus sign and type in #header in the field that open. The
hashtag means you are assigning an id as opposed to a class.
Press enter. In the opening menu, instead of Define in page select
Create new CSS file. In the popup, choose Browse and navigate to
your site folder. Then type style.css (which is the standard name for
11 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
style sheets) into the File name field and hit Save.
When you now select Ok, a new file will appear at the top of your
live view. You can view and edit it from there. It will also be linked to
the <head> section of the HTML part of your page.
The first thing you want to do is to change the font of your heading
and also centre it. For that, you first need to create a new CSS
selector. A selector is the name of an element on our page that you
can assign properties to, e.g colour, size, and more.
Mark your H1 heading in the DOM view on the lower right (like you
did with the header before). Then, above that, choose CSS
Designer.
12 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Quick note: for all those new to CSS, this selector means that you
are targeting the element named h1 inside the element called
#header. That way, whatever you input as CSS is only applied to
the written text only and not the header element overall.
Now that you have a selector, you can assign properties to it. If you
know your way around CSS, you can simply type markup into
style.css and the program will automatically take care of it.
13 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
easy. Stay in the CSS Designer menu and uncheck the box where it
says Show Set. When you do, it will unlock a lot of additional
options.
With the new buttons, you can choose many CSS properties from
the areas of layout, text, border and background. The More button
gives you options to input your own rules.
To change the font type, click on the Text option at the top
(alternatively, scroll down). In the upcoming options, hover over
font-family and click on default font.
This will give you a number of options for common fonts including
their fallbacks (in case the user browser is unable to show the
primary font). You may want to click on Manage Fonts at the bottom
to get to this menu:
14 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Here, you are able to choose free fonts from Adobe’s Edge Web
Fonts service. Either search for a font by name or use the many
filter options on the left to narrow down your choices until you find
something.
15 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
For now, simply hit Done and then click on default fonts again. This
time pick your chosen custom font and voilá – the change is done
including all the necessary coding.
16 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
If you click on your style.css file at the top, you will see that all
markup has been added as well.
The text could still look better. The next task is to centre it and
increase the font size. For that, you can also use another feature
called Quick Edit.
To use it, go to the code view and right click the part you want to
edit. In this case, it’s on the <h1> bracket.
17 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Here, choose Quick Edit at the top. This will open the CSS
associated with this element below it. Now you can input additional
properties without having to search the entire style sheet file (which
can be very long). In order to centre the text and make it larger, add
the following code to it.
1. font-size: 42px;
2. text-align: center;
When typing, Dreamweaver will also make proposals for what you
are trying to input, making it even easier. That’s the code
completion feature mentioned earlier.
Note that the text has already changed in the live view. Now, press
Esc to leave quick edit and head over to the style sheet. You will
find that the new CSS has been added in the appropriate place.
By the way, if you are ever unsure about what a CSS property
means, simply right-click it and choose Quick Docs (or press
Ctrl+K). Dreamweaver will then give you an explanation.
18 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
With what you have learned so far, you can now build a
rudimentary site. For the sake of this Dreamweaver tutorial, I have
done the following:
Added a div box for content with two more boxes inside
Moved one of them left and one right with the float property
Created a form (use the drop-down menu under Insert), two text
fields and a submit button
Added spacing around the elements via CSS margins and padding
19 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Since this is a bit advanced and not everybody will know how to do
it, you can find the HTML and CSS below so you can reconstruct it
for yourself. First the HTML:
1. <!doctype html>
2. <html>
3. <head>
4. <meta charset="utf-8">
5. <title>index.html</title>
7. <!--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/aguafina-script:n4:default;
muli:n3:default;karla:n4:default.js" type="text/javascript"></script>
8. </head>
9.
10. <body>
20 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
13. </header>
19. <ul>
25. </ul>
27. </div>
21 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
32. </div>
34. <div>
37. </div>
38. <div>
41. </div>
43. </form>
44. </div>
45. </main>
48. </footer>
22 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
49. </body>
50. </html>
1. @charset "utf-8";
2.
3. body {
4. background-color: #F5F5F5;
5. margin-top: 0px;
6. margin-right: 0px;
7. margin-bottom: 0px;
8. margin-left: 0px;
9. }
10.
11. p,
12. a,
13. ul,
14. ol,
15. li,
16. label,
17. input{
23 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
22. }
23.
29. }
30.
31. #header {
36. }
37.
38. #header h1 {
24 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
47. }
48.
49. #navigation {
55. }
56.
57. #navigation a {
59. }
60.
61. .main {
25 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
70. }
71.
76. }
77.
83. }
84.
87. }
88.
26 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
93. }
94.
97. }
98.
100.
101. }
102.
105.
106. }
107.
27 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
122. }
123.
124. .footer {
129. }
I want to use this as an example to show you the next steps. Even
if it seems complicated, I put this together the same way I showed
you before.
How did I do all of this? Well, first of all, I am a bit more experience
at building websites than you probably are. Therefore, I already
28 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
To get started, click the real-time preview button in the lower right
corner.
29 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
A click on one of the browser names will open your website project
in it. You can also scan the QR code with your phone or tablet (for
example with Firefox Quantum) or type the displayed address into
your browser to start the live preview on your device.
Just be aware, that you need to input your Adobe ID and password
for that. You should have that from signing up for Dreamweaver.
How did this help me put together site faster? First of all, depending
on the size of your screen, the display in the browser might be
closer to the original than what you see in Dreamweaver.
They are very similar to what you see in Dreamweaver. They are
more familiar to me so I can work faster with them and just copy
and paste the code into my style sheet.
A look at the phone version shows that there is still a lot of work to
do.
In order to make your website work on all devices, you need to add
a so-called media queries. These are conditional CSS statements
30 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
So far, you have only defined global styles. That means the styles
that are applied to the entire site. Now you will learn how to add
conditional styles for smaller screens.
First, go to CSS Designer. Make sure that the file you want to add
code to is selected under Sources. Hit the plus sign under @media.
You can define conditions for media queries e.g the devices they
apply to, orientation, resolution and much more. You can also add
multiple conditions with the plus sign.
Let’s say you want to fix things on the phone first, so you type in a
max-width of 375 pixels. When you do, you can see the CSS
31 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
What’s also going to happen when you click Ok is that a green line
appears at the top of the screen. This visually represents the media
query. Click it and the screen automatically jumps to that size.
You can do this the same way you manipulated CSS before, only
this time you have a media query activated while you do so.
First of all – navigate to the element in your DOM view. From there
create a new CSS selector for it. Then, set its width to auto,
float to none (to stop it from going left) and add some padding to
the sides so that the content doesn’t border on the edge of the
screen.
32 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
33 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Looks much better, doesn’t it? In the same way, you can change
the CSS of all other elements on the page to make them all look
right.
That’s basically it for media queries. You can use the same method
to adjust the layout to tablets and other sizes.
Pro tip: Don’t optimize for certain devices and their sizes, instead
create media queries depending on the layout. That means playing
with the screen size and adding queries at those points when the
layout doesn’t look good anymore.
One more thing: You can also create media queries a little more
easily by using the pre-set device sizes in the bottom corner and
clicking on the plus symbol on top when you have found a point
where you want to add one.
Once you are done with the design part, you are pretty much ready
to upload the site to your server. As mentioned at the very
beginning, Dreamweaver also makes this very easy.
If you don’t have a server/web host yet, consider choosing the best
web hosting.
First, go to Site > Manage Sites. Select your current website from
the menu and choose Edit at the bottom left. In the following
window, click on Servers.
34 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
Input all important data to connect to your FTP server. The name is
up to you, the rest (FTP address, username, password) comes
from your hosting provider. Don’t forget to specify which directory to
place the files in and the web address of your live site! The last part
is important so that Dreamweaver can create site-relative internal
links.
Now go to the Files panel (either on the upper right side or via
Window > Files) and click on the furthest left symbol to connect to
your server:
Well done! You just built and uploaded a simple site with
Dreamweaver!
35 of 36 15-11-2018, 10:53
Simple Dreamweaver Tutorial: How to Create a Website (step-by-step) about:reader?url=https://websitesetup.org/dreamweaver-tutorial/
36 of 36 15-11-2018, 10:53