SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Intermediate Macromedia Dreamweaver MX Sarah Bombich
STaRS Student Training Arc: Library Technology Center
Revised 11/24/10 1/6
Intermediate Macromedia Dreamweaver MX
Goals
 To practice using templates to create a consistent look and feel across a site while
making site maintenance speedy
 To practice using library items for rapid site updating
 To understand the purpose of cascading style sheets and understand how to
implement them in Dreamweaver
Prerequisite and Helpful Knowledge
 Familiarity with the World Wide Web (WWW) required
 Understanding of how the WWW works, including familiarity with web servers, web
browsers, and web standards, is strongly recommended
 Understanding of how a web site is structured, both the underlying files and the user-
experienced site structure, is strongly recommended
 Working knowledge of HTML is strongly recommended
Templates
Templates allow you to create a consistent look and feel across a site. They are also very
helpful when you want to easily update and manage a site. They can be used in conjunction
with library items.
You can create a template from an existing document or you can create a template from a
new, blank document. Dreamweaver saves templates with the file extension .dwt. Templates
are saved in a special Templates folder in the local root folder of the site.
Note: Do not move your templates out of the Templates folder, or put any non-template
files in the Templates folder. Also, do not move the Templates folder out of your local root
folder. Doing so causes errors in paths in the templates.
Creating Templates
 Creating a template from scratch
o With a blank or existing document open, choose File > Save as Template
o If you haven't already, you may be prompted to set editable regions.
o In the dialog box that appears, select a site and enter a name for the template in the
Save As box. Click Save.
 Editing an existing template
o Choose Window > Site.
Intermediate Macromedia Dreamweaver MX Sarah Bombich
STaRS Student Training Arc: Library Technology Center
Revised 11/24/10 2/6
o Choose the template you would like to edit and edit the template in the Document
window.
o You may be prompted to update attached pages. If you do not update the attached
pages and then re-upload the affected pages, your template change will not take
place.
Defining Editable Regions
 Turning existing content into an editable region
o Before you insert an editable region, you should save the document you are working
in as a template. If you insert an editable region in a document rather than a
template file, Dreamweaver warns you that the document will automatically be
saved as a template.
o Select the text or content that you want to set as an editable region
o Insert an editable region:
 Choose Insert > Template Objects > New Editable Region
 Right-click (Windows) or Control-click (Macintosh) the selected text or
object, and choose New Editable Region from the context menu
o The Editable Region dialog box appears; in the Name text box, enter a unique name
for the region (You cannot use the same name for more than one editable region in
a particular template).
Note: When you name a region, you can't use the following characters: single or
double quotation marks (' "), angle brackets (<>), and ampersands (&).
Note: The editable region is highlighted in the template. You can mark an entire
table or an individual table cell as editable; however, you can't mark several cells at
once.
o The editable region is enclosed in a highlighted rectangular outline in the template,
using the highlighting color that is set in preferences.
o A tab at the upper-left corner of the region shows the name of the region. If you
inserted an empty editable region in the document, the name of the region also
appears inside the region.
 Defining a new editable region in a template
o In the template, place the insertion point where you want to insert an editable
region.
o Choose Insert > Template Objects > Editable Region.
o In the Name: dialog box, enter a name for the region. The region name, surrounded
by braces ({}), is inserted into the template as a highlighted placeholder. When you
apply the template to a document, you can replace the place holder with text,
images, or other content.
 Unmarking a region (make it non-editable)
o Choose Modify > Templates > Remove Template Markup
Intermediate Macromedia Dreamweaver MX Sarah Bombich
STaRS Student Training Arc: Library Technology Center
Revised 11/24/10 3/6
Creating pages based on templates
 Creating a new document based on a template
o Choose File > New
o Click on the Templates tab
o In the dialog box that appears, choose a template and then click Create
 To apply a template to an existing Dreamweaver document:
o Open the document
o Choose Modify > Templates > Apply Template to Page
o Choose a template from the list and click Select
When you apply a template to an existing document, the content in the template is
added to the document. Dreamweaver may prompt you to indicate the editable region
in which you want existing text to appear.
 Detaching a document from a template
o Open the document you want to detach
o Choose Modify > Templates > Detach From Template
When you make a change to a template, Dreamweaver prompts you to update the pages that
use the template. You can also use the update commands to manually update the current
page or the entire site. Applying the update commands is the same as reapplying the template.
Updating templates
 Opening the template used to create the current document
o Choose Modify > Templates > Open Attached Template
 Updating the current document to the most current version of a template
o Choose Modify > Templates > Update Current Page.
 Updating the entire site or all documents that use a particular template:
o Choose Modify > Templates > Update Pages. The Update Pages dialog box
appears.
o In the Look In pop-up menu, do one of the following: Choose Entire Site, and then
select the site name. This updates all pages in the selected site to their
corresponding templates. Choose Files That Use, and then select the template
name. This updates all pages in the current site that use the selected template.
o Make sure Templates is selected in the Update option.
o Click Start
Intermediate Macromedia Dreamweaver MX Sarah Bombich
STaRS Student Training Arc: Library Technology Center
Revised 11/24/10 4/6
Library Items
Library items are a way to store page elements such as images, text, and other objects that
you want to reuse or update frequently throughout your web site.
When you place a library item in a document, Dreamweaver inserts a copy of the HTML
source code for that item into the document, and adds an HTML comment containing a
reference to the original, external item. The reference to the external library item makes it
possible to update the content on an entire site all at once by changing the library item and
then using the update commands in the Modify > Library submenu.
Dreamweaver stores library items in a Library folder within the local root folder for each site.
Note: Library items are good for storing headers and footers because you can update
once and propagate changes across your site.
 Creating a Library Item
Select a portion of a document to save as a library item.
o Choose Modify > Library > Add Object to Library.
o Enter a name for the new library item.
o Each library item is saved as a separate file (with the file extension .lbi) in the Library folder
of the site’s local root folder.
 Inserting a library item in a document
When you add a library item to a page, the actual content is inserted in the document along with
a reference to the library item.
o Place the insertion point in the Document window.
o Choose Window > Library.
o The Assets panel appears, showing the Library category.
o Drag a library item from the Assets panel to the Document window, or select an item and
click the Insert button.
To insert the contents of a library item without including a reference to the item in the document,
press Control (Windows) or Option (Macintosh) while dragging an item out of the Library
category of the Assets panel. If you insert an item this way, you can edit the item in the
document, but the document won’t update when you update pages that use that library item.
 To edit a library item
o Double-click the library item in Window > Library. Dreamweaver opens a new
window for editing the library item. This window is much like a Document
window, but its Design view has a gray background to indicate that you're
editing a library item instead of a document.
o In the dialog box that appears, choose whether to update the documents on the
local site that use the edited library item:
 Choose Update to update all documents in the local site with the edited
library item.
 Choose Don't Update to avoid changing any documents until you use
Modify > Library > Update Current Page or Update Pages.
Intermediate Macromedia Dreamweaver MX Sarah Bombich
STaRS Student Training Arc: Library Technology Center
Revised 11/24/10 5/6
What are cascading style sheets?
Style sheets describe how documents are presented on screens, in print, or perhaps how they
are pronounced. W3C has actively promoted the use of style sheets on the Web since the
Consortium was founded in 1994. The Style Activity has produced several W3C
Recommendations (CSS1, CSS2, XPath, XSLT). CSS especially is widely implemented in
browsers. [from http://www.w3.org/Style/]
By attaching style sheets to structured documents on the Web (e.g. HTML), authors and
readers can influence the presentation of documents without sacrificing device-independence
or adding new HTML tags.
Use embedded styles to format a single document, or use an external Style Sheet to control
several documents at once. Similar to templates, deciding upon your styles up front will help to
ensure that your pages have a similar look and feel. For documents to use an external Style
Sheet, you must embed a link to the Style Sheet in the head of the document.
The World Wide Web Consortium is responsible for the Cascading Style Sheets specification
(CSS1), which defines style properties (for example, font, color, padding, margin, word
spacing) that control the appearance of elements. Dreamweaver lets you set any CSS1
property. Bear in mind that not all styles are viewable by all browsers.
For detailed information on Cascading Style Sheets, please refer to the World Wide Web
Consortium http://www.w3.org/Style/
Using Style Sheets
Dreamweaver recognizes styles defined in existing documents as long as they conform to CSS
guidelines. Style sheets work in 4.0 and later browsers, although support is not uniform.
Two types of styles are commonly used in Dreamweaver:
1. HTML tag styles redefine the formatting for a particular tag, such as H1. When you
create a style for the H1 tag, all the text with the H1 tag immediately changes.
2. Custom styles are similar to the styles you use in a word processor, except that there
is no distinction between character and paragraph styles. You can apply custom styles
to any range or block of text. If the style is applied to a block of text (such as an entire
paragraph or unordered list), a CLASS attribute is added to the block's tag (for
example, P CLASS="definition" or TABLE CLASS="indent"). If the style is applied to a
range of text, SPAN tags containing the CLASS attribute are inserted around the
selected text. You may manually want to use DIV tags instead of SPAN tags, because
DIV tags preserve indents and spacing better, but you have to type them in manually.
Text formatting that is manually applied to ranges of text can take precedence over styles. To
make styles control the formatting for a paragraph, remove all other formatting settings.
Although you can set all the style attributes defined by the CSS1 specification in Dreamweaver,
not all attributes appear in the Document window.
Creating Styles
 Window > CSS Styles
 Create an external style sheet by clicking on the icon
Intermediate Macromedia Dreamweaver MX Sarah Bombich
STaRS Student Training Arc: Library Technology Center
Revised 11/24/10 6/6
 Add a style to the sheet by clicking on the icon
 The three categories
you will need to use
most often:
o Type - Used to
specify the font, font
color, font size, and
font attributes
o Background - Used
to control for the
background color or
background image
o Box - Used to
control for table
padding and margin
setting
Applying Custom Styles
When you define an HTML tag or CSS Selector, these styles are automatically applied for you.
When you create a custom class code, you need to apply that style to the object you want to
possess that attribute.
 Applying a style using a SPAN tag
o Select the word or words
o Choose Window > CSS Styles
o Choose Apply Styles
o Click on the custom style
 Applying a style manually using a DIV tag
o Select the block of text you wish to format in the preview window
o Using the dual code/preview window, manually type in <DIV CLASS=”class name”>
before the block of text highlighted in the code window. Type </DIV> after the block of
highlighted text in the code window.
o Click on the preview window to see your change applied
 Applying a style using an HTML Tag
o Select the tag
o Choose Window > CSS Styles
o Choose Apply Styles
o Click on the custom style

Mais conteúdo relacionado

Mais procurados

Microsoft office access 2003
Microsoft office access 2003Microsoft office access 2003
Microsoft office access 2003ipengzzz
 
Cheat sheet windows complete (xp, 7, 8)
Cheat sheet windows complete (xp, 7, 8)Cheat sheet windows complete (xp, 7, 8)
Cheat sheet windows complete (xp, 7, 8)Hastho Oke Sekali Jaya
 
Components of the word window
Components of the word windowComponents of the word window
Components of the word windowsusoav
 
Introduction to Endnote
Introduction to EndnoteIntroduction to Endnote
Introduction to Endnotedh895
 
Ms access 2010 lesson 3 (Interface)
Ms access 2010 lesson 3 (Interface)Ms access 2010 lesson 3 (Interface)
Ms access 2010 lesson 3 (Interface)teng113
 
Microsoft word 2007 part 1
Microsoft word 2007 part 1Microsoft word 2007 part 1
Microsoft word 2007 part 1kenjaneredz
 
Word Chapter 1 - Preparing Documents
Word Chapter 1 - Preparing DocumentsWord Chapter 1 - Preparing Documents
Word Chapter 1 - Preparing Documentsdpd
 
Introduction to Microsoft Word 2007 (Tutrial and Tips)
Introduction to Microsoft Word 2007 (Tutrial and Tips)Introduction to Microsoft Word 2007 (Tutrial and Tips)
Introduction to Microsoft Word 2007 (Tutrial and Tips)Elyssa Marie Bulandan
 
Getting started with Word 2016 for Mac
Getting started with Word 2016 for MacGetting started with Word 2016 for Mac
Getting started with Word 2016 for MacGuy Gilbert
 
Microsoft Powerpoint 2003
Microsoft Powerpoint 2003Microsoft Powerpoint 2003
Microsoft Powerpoint 2003maccarthy104
 

Mais procurados (20)

Microsoft office access 2003
Microsoft office access 2003Microsoft office access 2003
Microsoft office access 2003
 
Cheat sheet windows complete (xp, 7, 8)
Cheat sheet windows complete (xp, 7, 8)Cheat sheet windows complete (xp, 7, 8)
Cheat sheet windows complete (xp, 7, 8)
 
Components of the word window
Components of the word windowComponents of the word window
Components of the word window
 
PowerPoint 2013
PowerPoint 2013PowerPoint 2013
PowerPoint 2013
 
Introduction to Endnote
Introduction to EndnoteIntroduction to Endnote
Introduction to Endnote
 
Microsoft word
Microsoft wordMicrosoft word
Microsoft word
 
Ms word
Ms wordMs word
Ms word
 
Ms access 2010 lesson 3 (Interface)
Ms access 2010 lesson 3 (Interface)Ms access 2010 lesson 3 (Interface)
Ms access 2010 lesson 3 (Interface)
 
Excel 2011-cheat-sheet
Excel 2011-cheat-sheetExcel 2011-cheat-sheet
Excel 2011-cheat-sheet
 
Microsoft word 2007 part 1
Microsoft word 2007 part 1Microsoft word 2007 part 1
Microsoft word 2007 part 1
 
Word Chapter 1 - Preparing Documents
Word Chapter 1 - Preparing DocumentsWord Chapter 1 - Preparing Documents
Word Chapter 1 - Preparing Documents
 
SA01 - Document and File Management
SA01 - Document and File Management SA01 - Document and File Management
SA01 - Document and File Management
 
Endnote x3 exercises
Endnote x3 exercisesEndnote x3 exercises
Endnote x3 exercises
 
Introduction to Microsoft Word 2007 (Tutrial and Tips)
Introduction to Microsoft Word 2007 (Tutrial and Tips)Introduction to Microsoft Word 2007 (Tutrial and Tips)
Introduction to Microsoft Word 2007 (Tutrial and Tips)
 
Getting started with Word 2016 for Mac
Getting started with Word 2016 for MacGetting started with Word 2016 for Mac
Getting started with Word 2016 for Mac
 
Reader
ReaderReader
Reader
 
Ms word 2013 Training
Ms word 2013 TrainingMs word 2013 Training
Ms word 2013 Training
 
Access4
Access4Access4
Access4
 
Endnote
EndnoteEndnote
Endnote
 
Microsoft Powerpoint 2003
Microsoft Powerpoint 2003Microsoft Powerpoint 2003
Microsoft Powerpoint 2003
 

Destaque

Office 2007 Survival Guide
Office 2007 Survival GuideOffice 2007 Survival Guide
Office 2007 Survival GuideSarah Bombich
 
Introduction to Flash
Introduction to FlashIntroduction to Flash
Introduction to FlashSarah Bombich
 
Working With Images in Photoshop
Working With Images in PhotoshopWorking With Images in Photoshop
Working With Images in PhotoshopSarah Bombich
 
Photoshop: Tools and Tricks for Beginners
Photoshop: Tools and Tricks for BeginnersPhotoshop: Tools and Tricks for Beginners
Photoshop: Tools and Tricks for BeginnersSarah Bombich
 
Introduction to Dreamweaver
Introduction to DreamweaverIntroduction to Dreamweaver
Introduction to DreamweaverSarah Bombich
 

Destaque (6)

Office 2007 Survival Guide
Office 2007 Survival GuideOffice 2007 Survival Guide
Office 2007 Survival Guide
 
Introduction to Flash
Introduction to FlashIntroduction to Flash
Introduction to Flash
 
Mmf
MmfMmf
Mmf
 
Working With Images in Photoshop
Working With Images in PhotoshopWorking With Images in Photoshop
Working With Images in Photoshop
 
Photoshop: Tools and Tricks for Beginners
Photoshop: Tools and Tricks for BeginnersPhotoshop: Tools and Tricks for Beginners
Photoshop: Tools and Tricks for Beginners
 
Introduction to Dreamweaver
Introduction to DreamweaverIntroduction to Dreamweaver
Introduction to Dreamweaver
 

Semelhante a Intermediate Dreamweaver

Semelhante a Intermediate Dreamweaver (20)

Dw cs3-introduction
Dw cs3-introductionDw cs3-introduction
Dw cs3-introduction
 
Dreamweaver8
Dreamweaver8Dreamweaver8
Dreamweaver8
 
TemplateTutorial
TemplateTutorialTemplateTutorial
TemplateTutorial
 
TemplateTutorial
TemplateTutorialTemplateTutorial
TemplateTutorial
 
Module 4: The WYSIWYG Editor
Module 4: The WYSIWYG EditorModule 4: The WYSIWYG Editor
Module 4: The WYSIWYG Editor
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
You Can Take Your HAT Off
You Can Take Your HAT OffYou Can Take Your HAT Off
You Can Take Your HAT Off
 
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docxITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
ITECH2106-6106 Lab01-HTML CSS Intro and Needs Analysis.pdf.docx
 
171dreamweaver
171dreamweaver171dreamweaver
171dreamweaver
 
171dreamweaver
171dreamweaver171dreamweaver
171dreamweaver
 
Lesson 2 cs5
Lesson 2   cs5Lesson 2   cs5
Lesson 2 cs5
 
Dreamweaver CS3
Dreamweaver CS3Dreamweaver CS3
Dreamweaver CS3
 
Walkthrough asp.net
Walkthrough asp.netWalkthrough asp.net
Walkthrough asp.net
 
UsingWebLaunch
UsingWebLaunchUsingWebLaunch
UsingWebLaunch
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
Dreamweaver cs4
Dreamweaver cs4Dreamweaver cs4
Dreamweaver cs4
 
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
3) web development
3) web development3) web development
3) web development
 
Nvu tutorial1 1
Nvu tutorial1 1Nvu tutorial1 1
Nvu tutorial1 1
 

Mais de Sarah Bombich

Acrobat Digital Document Authoring
Acrobat Digital Document AuthoringAcrobat Digital Document Authoring
Acrobat Digital Document AuthoringSarah Bombich
 
Word 2007: Tips, Trick, and New Features
Word 2007: Tips, Trick, and New FeaturesWord 2007: Tips, Trick, and New Features
Word 2007: Tips, Trick, and New FeaturesSarah Bombich
 
Hacking Your Information Workflow Handout
Hacking Your Information Workflow HandoutHacking Your Information Workflow Handout
Hacking Your Information Workflow HandoutSarah Bombich
 
Hacking Your Information Workflow
Hacking Your Information WorkflowHacking Your Information Workflow
Hacking Your Information WorkflowSarah Bombich
 
RefWorks 2.0, The Savvy Researcher
RefWorks 2.0, The Savvy ResearcherRefWorks 2.0, The Savvy Researcher
RefWorks 2.0, The Savvy ResearcherSarah Bombich
 
Mobile Device Comparison
Mobile Device ComparisonMobile Device Comparison
Mobile Device ComparisonSarah Bombich
 
Wireless Boot Camp 2010 Handout
Wireless Boot Camp 2010 HandoutWireless Boot Camp 2010 Handout
Wireless Boot Camp 2010 HandoutSarah Bombich
 
Wireless Boot Camp 2010
Wireless Boot Camp 2010Wireless Boot Camp 2010
Wireless Boot Camp 2010Sarah Bombich
 
Wireless Bootcamp 2010
Wireless Bootcamp 2010Wireless Bootcamp 2010
Wireless Bootcamp 2010Sarah Bombich
 

Mais de Sarah Bombich (12)

Acrobat Digital Document Authoring
Acrobat Digital Document AuthoringAcrobat Digital Document Authoring
Acrobat Digital Document Authoring
 
Word 2007: Tips, Trick, and New Features
Word 2007: Tips, Trick, and New FeaturesWord 2007: Tips, Trick, and New Features
Word 2007: Tips, Trick, and New Features
 
Hacking Your Information Workflow Handout
Hacking Your Information Workflow HandoutHacking Your Information Workflow Handout
Hacking Your Information Workflow Handout
 
Hacking Your Information Workflow
Hacking Your Information WorkflowHacking Your Information Workflow
Hacking Your Information Workflow
 
Screenr
ScreenrScreenr
Screenr
 
RefWorks 2.0, The Savvy Researcher
RefWorks 2.0, The Savvy ResearcherRefWorks 2.0, The Savvy Researcher
RefWorks 2.0, The Savvy Researcher
 
Mobile Device Comparison
Mobile Device ComparisonMobile Device Comparison
Mobile Device Comparison
 
Twitter101 Handout
Twitter101 HandoutTwitter101 Handout
Twitter101 Handout
 
Why Tweet? Handout
Why Tweet? HandoutWhy Tweet? Handout
Why Tweet? Handout
 
Wireless Boot Camp 2010 Handout
Wireless Boot Camp 2010 HandoutWireless Boot Camp 2010 Handout
Wireless Boot Camp 2010 Handout
 
Wireless Boot Camp 2010
Wireless Boot Camp 2010Wireless Boot Camp 2010
Wireless Boot Camp 2010
 
Wireless Bootcamp 2010
Wireless Bootcamp 2010Wireless Bootcamp 2010
Wireless Bootcamp 2010
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Intermediate Dreamweaver

  • 1. Intermediate Macromedia Dreamweaver MX Sarah Bombich STaRS Student Training Arc: Library Technology Center Revised 11/24/10 1/6 Intermediate Macromedia Dreamweaver MX Goals  To practice using templates to create a consistent look and feel across a site while making site maintenance speedy  To practice using library items for rapid site updating  To understand the purpose of cascading style sheets and understand how to implement them in Dreamweaver Prerequisite and Helpful Knowledge  Familiarity with the World Wide Web (WWW) required  Understanding of how the WWW works, including familiarity with web servers, web browsers, and web standards, is strongly recommended  Understanding of how a web site is structured, both the underlying files and the user- experienced site structure, is strongly recommended  Working knowledge of HTML is strongly recommended Templates Templates allow you to create a consistent look and feel across a site. They are also very helpful when you want to easily update and manage a site. They can be used in conjunction with library items. You can create a template from an existing document or you can create a template from a new, blank document. Dreamweaver saves templates with the file extension .dwt. Templates are saved in a special Templates folder in the local root folder of the site. Note: Do not move your templates out of the Templates folder, or put any non-template files in the Templates folder. Also, do not move the Templates folder out of your local root folder. Doing so causes errors in paths in the templates. Creating Templates  Creating a template from scratch o With a blank or existing document open, choose File > Save as Template o If you haven't already, you may be prompted to set editable regions. o In the dialog box that appears, select a site and enter a name for the template in the Save As box. Click Save.  Editing an existing template o Choose Window > Site.
  • 2. Intermediate Macromedia Dreamweaver MX Sarah Bombich STaRS Student Training Arc: Library Technology Center Revised 11/24/10 2/6 o Choose the template you would like to edit and edit the template in the Document window. o You may be prompted to update attached pages. If you do not update the attached pages and then re-upload the affected pages, your template change will not take place. Defining Editable Regions  Turning existing content into an editable region o Before you insert an editable region, you should save the document you are working in as a template. If you insert an editable region in a document rather than a template file, Dreamweaver warns you that the document will automatically be saved as a template. o Select the text or content that you want to set as an editable region o Insert an editable region:  Choose Insert > Template Objects > New Editable Region  Right-click (Windows) or Control-click (Macintosh) the selected text or object, and choose New Editable Region from the context menu o The Editable Region dialog box appears; in the Name text box, enter a unique name for the region (You cannot use the same name for more than one editable region in a particular template). Note: When you name a region, you can't use the following characters: single or double quotation marks (' "), angle brackets (<>), and ampersands (&). Note: The editable region is highlighted in the template. You can mark an entire table or an individual table cell as editable; however, you can't mark several cells at once. o The editable region is enclosed in a highlighted rectangular outline in the template, using the highlighting color that is set in preferences. o A tab at the upper-left corner of the region shows the name of the region. If you inserted an empty editable region in the document, the name of the region also appears inside the region.  Defining a new editable region in a template o In the template, place the insertion point where you want to insert an editable region. o Choose Insert > Template Objects > Editable Region. o In the Name: dialog box, enter a name for the region. The region name, surrounded by braces ({}), is inserted into the template as a highlighted placeholder. When you apply the template to a document, you can replace the place holder with text, images, or other content.  Unmarking a region (make it non-editable) o Choose Modify > Templates > Remove Template Markup
  • 3. Intermediate Macromedia Dreamweaver MX Sarah Bombich STaRS Student Training Arc: Library Technology Center Revised 11/24/10 3/6 Creating pages based on templates  Creating a new document based on a template o Choose File > New o Click on the Templates tab o In the dialog box that appears, choose a template and then click Create  To apply a template to an existing Dreamweaver document: o Open the document o Choose Modify > Templates > Apply Template to Page o Choose a template from the list and click Select When you apply a template to an existing document, the content in the template is added to the document. Dreamweaver may prompt you to indicate the editable region in which you want existing text to appear.  Detaching a document from a template o Open the document you want to detach o Choose Modify > Templates > Detach From Template When you make a change to a template, Dreamweaver prompts you to update the pages that use the template. You can also use the update commands to manually update the current page or the entire site. Applying the update commands is the same as reapplying the template. Updating templates  Opening the template used to create the current document o Choose Modify > Templates > Open Attached Template  Updating the current document to the most current version of a template o Choose Modify > Templates > Update Current Page.  Updating the entire site or all documents that use a particular template: o Choose Modify > Templates > Update Pages. The Update Pages dialog box appears. o In the Look In pop-up menu, do one of the following: Choose Entire Site, and then select the site name. This updates all pages in the selected site to their corresponding templates. Choose Files That Use, and then select the template name. This updates all pages in the current site that use the selected template. o Make sure Templates is selected in the Update option. o Click Start
  • 4. Intermediate Macromedia Dreamweaver MX Sarah Bombich STaRS Student Training Arc: Library Technology Center Revised 11/24/10 4/6 Library Items Library items are a way to store page elements such as images, text, and other objects that you want to reuse or update frequently throughout your web site. When you place a library item in a document, Dreamweaver inserts a copy of the HTML source code for that item into the document, and adds an HTML comment containing a reference to the original, external item. The reference to the external library item makes it possible to update the content on an entire site all at once by changing the library item and then using the update commands in the Modify > Library submenu. Dreamweaver stores library items in a Library folder within the local root folder for each site. Note: Library items are good for storing headers and footers because you can update once and propagate changes across your site.  Creating a Library Item Select a portion of a document to save as a library item. o Choose Modify > Library > Add Object to Library. o Enter a name for the new library item. o Each library item is saved as a separate file (with the file extension .lbi) in the Library folder of the site’s local root folder.  Inserting a library item in a document When you add a library item to a page, the actual content is inserted in the document along with a reference to the library item. o Place the insertion point in the Document window. o Choose Window > Library. o The Assets panel appears, showing the Library category. o Drag a library item from the Assets panel to the Document window, or select an item and click the Insert button. To insert the contents of a library item without including a reference to the item in the document, press Control (Windows) or Option (Macintosh) while dragging an item out of the Library category of the Assets panel. If you insert an item this way, you can edit the item in the document, but the document won’t update when you update pages that use that library item.  To edit a library item o Double-click the library item in Window > Library. Dreamweaver opens a new window for editing the library item. This window is much like a Document window, but its Design view has a gray background to indicate that you're editing a library item instead of a document. o In the dialog box that appears, choose whether to update the documents on the local site that use the edited library item:  Choose Update to update all documents in the local site with the edited library item.  Choose Don't Update to avoid changing any documents until you use Modify > Library > Update Current Page or Update Pages.
  • 5. Intermediate Macromedia Dreamweaver MX Sarah Bombich STaRS Student Training Arc: Library Technology Center Revised 11/24/10 5/6 What are cascading style sheets? Style sheets describe how documents are presented on screens, in print, or perhaps how they are pronounced. W3C has actively promoted the use of style sheets on the Web since the Consortium was founded in 1994. The Style Activity has produced several W3C Recommendations (CSS1, CSS2, XPath, XSLT). CSS especially is widely implemented in browsers. [from http://www.w3.org/Style/] By attaching style sheets to structured documents on the Web (e.g. HTML), authors and readers can influence the presentation of documents without sacrificing device-independence or adding new HTML tags. Use embedded styles to format a single document, or use an external Style Sheet to control several documents at once. Similar to templates, deciding upon your styles up front will help to ensure that your pages have a similar look and feel. For documents to use an external Style Sheet, you must embed a link to the Style Sheet in the head of the document. The World Wide Web Consortium is responsible for the Cascading Style Sheets specification (CSS1), which defines style properties (for example, font, color, padding, margin, word spacing) that control the appearance of elements. Dreamweaver lets you set any CSS1 property. Bear in mind that not all styles are viewable by all browsers. For detailed information on Cascading Style Sheets, please refer to the World Wide Web Consortium http://www.w3.org/Style/ Using Style Sheets Dreamweaver recognizes styles defined in existing documents as long as they conform to CSS guidelines. Style sheets work in 4.0 and later browsers, although support is not uniform. Two types of styles are commonly used in Dreamweaver: 1. HTML tag styles redefine the formatting for a particular tag, such as H1. When you create a style for the H1 tag, all the text with the H1 tag immediately changes. 2. Custom styles are similar to the styles you use in a word processor, except that there is no distinction between character and paragraph styles. You can apply custom styles to any range or block of text. If the style is applied to a block of text (such as an entire paragraph or unordered list), a CLASS attribute is added to the block's tag (for example, P CLASS="definition" or TABLE CLASS="indent"). If the style is applied to a range of text, SPAN tags containing the CLASS attribute are inserted around the selected text. You may manually want to use DIV tags instead of SPAN tags, because DIV tags preserve indents and spacing better, but you have to type them in manually. Text formatting that is manually applied to ranges of text can take precedence over styles. To make styles control the formatting for a paragraph, remove all other formatting settings. Although you can set all the style attributes defined by the CSS1 specification in Dreamweaver, not all attributes appear in the Document window. Creating Styles  Window > CSS Styles  Create an external style sheet by clicking on the icon
  • 6. Intermediate Macromedia Dreamweaver MX Sarah Bombich STaRS Student Training Arc: Library Technology Center Revised 11/24/10 6/6  Add a style to the sheet by clicking on the icon  The three categories you will need to use most often: o Type - Used to specify the font, font color, font size, and font attributes o Background - Used to control for the background color or background image o Box - Used to control for table padding and margin setting Applying Custom Styles When you define an HTML tag or CSS Selector, these styles are automatically applied for you. When you create a custom class code, you need to apply that style to the object you want to possess that attribute.  Applying a style using a SPAN tag o Select the word or words o Choose Window > CSS Styles o Choose Apply Styles o Click on the custom style  Applying a style manually using a DIV tag o Select the block of text you wish to format in the preview window o Using the dual code/preview window, manually type in <DIV CLASS=”class name”> before the block of text highlighted in the code window. Type </DIV> after the block of highlighted text in the code window. o Click on the preview window to see your change applied  Applying a style using an HTML Tag o Select the tag o Choose Window > CSS Styles o Choose Apply Styles o Click on the custom style