SlideShare uma empresa Scribd logo
1 de 18
Advanced Web
Design Using
Dreamweaver
Robby Seitz
121 Powers Hall
rseitz@olemiss.edu
662-915-7822
Assumptions
• You already understand HTML tags.
• You can already use Dreamweaver.
• You understand file name and folder
location concepts.
• You want to know more.
Cascading Style Sheets
• CSS is used to change the look or
layout of HTML elements.
The link element:
• Links default to blue.
• Visited links default to purple.
• Active and hover links default to red.
The style for each of these is redefinable!
Cascading Style Sheets
• Adding a style definition for the link
element changes its appearance.
a {
font-weight: bold;
color: green;
border: 1px solid gold;
background-color: #999966;
padding-left: 5px;
padding-right: 5px;
}
Cascading Style Sheets
• CSS can also adjust only a particular
aspect of some elements.
a {
font-weight: bold;
color: green;
border: 1px solid gold;
background-color: #999966;
padding-left: 5px;
padding-right: 5px;
}
a:hover {
color: black;
background-color: red;
}
Cascading Style Sheets
“Cascading” refers to the precedence
of definitions for a given element.
1. Browser default
2. External style sheet
3. Internal style sheet (inside the <head>)
4. Inline style (inside the HTML element)
Cascading Style Sheets
There are four ways to impose a style
on HTML elements:
1. By element tag name
p {margin_top: 20px;}
2. By class attribute
.column {border: 5px;}
3. By ID attribute
#header {background-color: #ff0000;}
4. By style attribute
style=“color:blue;” (within HTML tag)
Dynamic & Reusable Content
• What content is generated automatically?
– Calendar events
– RSS feeds
– System-generated dates
– Anything requiring programming
• Which parts of the page will appear on
other pages? Pull those parts out into
separate files and include them wherever
you want them:
<!--#include virtual=“myfile.htm”-->
Deconstructing the page
• Identify dynamic content
– Random photo
– Calendar events listing
– Date of last modification
• Identify recurring parts
– Header
– Navigation
– Footer
– Stylesheet
– Javascript
www.olemiss.edu/working/maildemo/
Start Your Dreamweavers!
1. Define your site:
– Site / New Site
– Select Advanced Tab
– Local Info…
• Site name: your name
• Local root folder: My Documents/tacit
– Remote Info…
• Access: FTP
• FTP host: cedar.olemiss.edu
• Host directory: working
• Login: maildemo
• Password: tacit08
• Use Secure FTP (SFTP): Checked
Define new page name
2. View Remote Files
3. Download the index.html file and
the images folder from the server
4. View Local Files
5. Change its name to yourname.html
6. Upload new file name to server
7. View in browser at
www.olemiss.edu/working/maildemo/yourname.html
Customize it
8. Change “maintained by” name and
save/upload the page again.
Examine the CSS
9. The left menu mouseover action
CSS
#menu li a:hover,
body#firstpage a#firstlink,
body#secondpage a#secondlink,
body#thirdpage a#thirdlink {
background-color:#cc0000;
color:#FFFFFF;
}
…
HTML
<body id=“firstpage”>
…
<div id="menu">
<ul>
<li><a href="index.html" id="firstlink">First Link</a></li>
<li><a href="index2.html" id="secondlink">Second Link</a></li>
<li><a href="index3.html" id="thirdlink">Third Link</a></li>
</ul>
Customize the menu
10.Change the filenames to use your
own filenames
<ul>
<li><a href=“yourname.html" id="firstlink">First Link</a></li>
<li><a href=“yourname2.html" id="secondlink">Second Link</a></li>
<li><a href=“yourname3.html" id="thirdlink">Third Link</a></li>
</ul>
Disassemble the page
11.Put the Header, Navigation, and
Footer in separate files
• yourname-head.htm
• yourname-menu.htm
• yourname-foot.htm
12.Include them in the original file:
<!--#include virtual=“yourname-head.htm”-->
(Note that this is a Server Side Include which your
browser can only handle when viewing your page on a
server.)
Disassemble the page
13.Put the CSS in its own file so it can
be shared by other pages.
yourname-style.css
<link rel="stylesheet" type="text/css" href=“yourname-style.css" />
14.Do the same with the Javascript.
yourname-javascript.js
<script src="yourname-javascript.js" type="text/javascript"></script>
Reassemble more pages
15.Change the <body> id to “secondpage”
16.Save/upload as yourname2.html
17.Change the <body> id to “thirdpage”
18.Save/upload as yourname3.html
19.View the files on
the server and
note how they
work together.
Tips
• Never put spaces in Web filenames.
Spaces get converted to “%20” text, and
browsers hate them.
• Make sure all random photos are
exactly the same size.
Page layout usually adapts to photo size.
• Keep images in a separate folder.
Just a good housekeeping rule.
• Keep content current.
If people wanted to see old information,
they’d look on a printed piece.

Mais conteúdo relacionado

Mais procurados

The Ulta-Handy HTML Guide
The Ulta-Handy HTML GuideThe Ulta-Handy HTML Guide
The Ulta-Handy HTML Guide
jsved
 

Mais procurados (20)

Web Information Systems Html and css
Web Information Systems Html and cssWeb Information Systems Html and css
Web Information Systems Html and css
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Css notes
Css notesCss notes
Css notes
 
HTML/CSS Lecture 1
HTML/CSS Lecture 1HTML/CSS Lecture 1
HTML/CSS Lecture 1
 
HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2HTML Lecture Part 1 of 2
HTML Lecture Part 1 of 2
 
Unit 3 (it workshop).pptx
Unit 3 (it workshop).pptxUnit 3 (it workshop).pptx
Unit 3 (it workshop).pptx
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 
Web page concept final ppt
Web page concept  final pptWeb page concept  final ppt
Web page concept final ppt
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
HTML and CSS crash course!
HTML and CSS crash course!HTML and CSS crash course!
HTML and CSS crash course!
 
How to Make HTML and CSS Files
How to Make HTML and CSS FilesHow to Make HTML and CSS Files
How to Make HTML and CSS Files
 
HTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifitsHTML Introduction, HTML History, HTML Uses, HTML benifits
HTML Introduction, HTML History, HTML Uses, HTML benifits
 
Chapter8
Chapter8Chapter8
Chapter8
 
The Ulta-Handy HTML Guide
The Ulta-Handy HTML GuideThe Ulta-Handy HTML Guide
The Ulta-Handy HTML Guide
 
(Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS (Fast) Introduction to HTML & CSS
(Fast) Introduction to HTML & CSS
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Css presentation introdution with sample basic projects
Css presentation introdution with sample basic projectsCss presentation introdution with sample basic projects
Css presentation introdution with sample basic projects
 
Origins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTMLOrigins and evolution of HTML and XHTML
Origins and evolution of HTML and XHTML
 

Destaque (15)

Virtualization strategies
Virtualization strategiesVirtualization strategies
Virtualization strategies
 
Ms dos
Ms dosMs dos
Ms dos
 
Notes server setup
Notes server setupNotes server setup
Notes server setup
 
Introduction to oracle
Introduction to oracleIntroduction to oracle
Introduction to oracle
 
Advanced dreamweaver
Advanced dreamweaverAdvanced dreamweaver
Advanced dreamweaver
 
Birthday greeting 2009
Birthday greeting 2009Birthday greeting 2009
Birthday greeting 2009
 
Sql group functions(2)
Sql group functions(2)Sql group functions(2)
Sql group functions(2)
 
12.ibm r50 ibm wireless setup
12.ibm r50 ibm wireless setup12.ibm r50 ibm wireless setup
12.ibm r50 ibm wireless setup
 
Cos413day3
Cos413day3Cos413day3
Cos413day3
 
2123.a better waytoprint.universal print
2123.a better waytoprint.universal print2123.a better waytoprint.universal print
2123.a better waytoprint.universal print
 
Ccna2v3 mod07
Ccna2v3 mod07Ccna2v3 mod07
Ccna2v3 mod07
 
Jcc
JccJcc
Jcc
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
Ch05
Ch05Ch05
Ch05
 
Java tut1
Java tut1Java tut1
Java tut1
 

Semelhante a Advanced dreamweaver

Semelhante a Advanced dreamweaver (20)

Advanced dreamweaver
Advanced dreamweaverAdvanced dreamweaver
Advanced dreamweaver
 
Introducing Cascading Style Sheets
Introducing Cascading Style SheetsIntroducing Cascading Style Sheets
Introducing Cascading Style Sheets
 
BITM3730 9-20.pptx
BITM3730 9-20.pptxBITM3730 9-20.pptx
BITM3730 9-20.pptx
 
Theme Kickstart
Theme KickstartTheme Kickstart
Theme Kickstart
 
BITM3730 9-19.pptx
BITM3730 9-19.pptxBITM3730 9-19.pptx
BITM3730 9-19.pptx
 
Advanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyAdvanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & Efficiency
 
Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25Newbies guide to customizing word press themes 25
Newbies guide to customizing word press themes 25
 
BITM3730Week4.pptx
BITM3730Week4.pptxBITM3730Week4.pptx
BITM3730Week4.pptx
 
Css
CssCss
Css
 
Advanced CSS Troubleshooting
Advanced CSS TroubleshootingAdvanced CSS Troubleshooting
Advanced CSS Troubleshooting
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
 
basic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdfbasic programming language AND HTML CSS JAVApdf
basic programming language AND HTML CSS JAVApdf
 
Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3Intro to HTML 5 / CSS 3
Intro to HTML 5 / CSS 3
 
BITM3730 9-26.pptx
BITM3730 9-26.pptxBITM3730 9-26.pptx
BITM3730 9-26.pptx
 
Css Basics
Css BasicsCss Basics
Css Basics
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS Workshop
 
WebDev Simplified Day 1 ppt.ppt
WebDev Simplified Day 1 ppt.pptWebDev Simplified Day 1 ppt.ppt
WebDev Simplified Day 1 ppt.ppt
 
Css week10 2019 2020 for g10 by eng.osama ghandour
Css week10 2019 2020 for g10 by eng.osama ghandourCss week10 2019 2020 for g10 by eng.osama ghandour
Css week10 2019 2020 for g10 by eng.osama ghandour
 
Make Css easy : easy tips for css
Make Css easy : easy tips for cssMake Css easy : easy tips for css
Make Css easy : easy tips for css
 
css v1 guru
css v1 gurucss v1 guru
css v1 guru
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Advanced dreamweaver

  • 1. Advanced Web Design Using Dreamweaver Robby Seitz 121 Powers Hall rseitz@olemiss.edu 662-915-7822
  • 2. Assumptions • You already understand HTML tags. • You can already use Dreamweaver. • You understand file name and folder location concepts. • You want to know more.
  • 3. Cascading Style Sheets • CSS is used to change the look or layout of HTML elements. The link element: • Links default to blue. • Visited links default to purple. • Active and hover links default to red. The style for each of these is redefinable!
  • 4. Cascading Style Sheets • Adding a style definition for the link element changes its appearance. a { font-weight: bold; color: green; border: 1px solid gold; background-color: #999966; padding-left: 5px; padding-right: 5px; }
  • 5. Cascading Style Sheets • CSS can also adjust only a particular aspect of some elements. a { font-weight: bold; color: green; border: 1px solid gold; background-color: #999966; padding-left: 5px; padding-right: 5px; } a:hover { color: black; background-color: red; }
  • 6. Cascading Style Sheets “Cascading” refers to the precedence of definitions for a given element. 1. Browser default 2. External style sheet 3. Internal style sheet (inside the <head>) 4. Inline style (inside the HTML element)
  • 7. Cascading Style Sheets There are four ways to impose a style on HTML elements: 1. By element tag name p {margin_top: 20px;} 2. By class attribute .column {border: 5px;} 3. By ID attribute #header {background-color: #ff0000;} 4. By style attribute style=“color:blue;” (within HTML tag)
  • 8. Dynamic & Reusable Content • What content is generated automatically? – Calendar events – RSS feeds – System-generated dates – Anything requiring programming • Which parts of the page will appear on other pages? Pull those parts out into separate files and include them wherever you want them: <!--#include virtual=“myfile.htm”-->
  • 9. Deconstructing the page • Identify dynamic content – Random photo – Calendar events listing – Date of last modification • Identify recurring parts – Header – Navigation – Footer – Stylesheet – Javascript www.olemiss.edu/working/maildemo/
  • 10. Start Your Dreamweavers! 1. Define your site: – Site / New Site – Select Advanced Tab – Local Info… • Site name: your name • Local root folder: My Documents/tacit – Remote Info… • Access: FTP • FTP host: cedar.olemiss.edu • Host directory: working • Login: maildemo • Password: tacit08 • Use Secure FTP (SFTP): Checked
  • 11. Define new page name 2. View Remote Files 3. Download the index.html file and the images folder from the server 4. View Local Files 5. Change its name to yourname.html 6. Upload new file name to server 7. View in browser at www.olemiss.edu/working/maildemo/yourname.html
  • 12. Customize it 8. Change “maintained by” name and save/upload the page again.
  • 13. Examine the CSS 9. The left menu mouseover action CSS #menu li a:hover, body#firstpage a#firstlink, body#secondpage a#secondlink, body#thirdpage a#thirdlink { background-color:#cc0000; color:#FFFFFF; } … HTML <body id=“firstpage”> … <div id="menu"> <ul> <li><a href="index.html" id="firstlink">First Link</a></li> <li><a href="index2.html" id="secondlink">Second Link</a></li> <li><a href="index3.html" id="thirdlink">Third Link</a></li> </ul>
  • 14. Customize the menu 10.Change the filenames to use your own filenames <ul> <li><a href=“yourname.html" id="firstlink">First Link</a></li> <li><a href=“yourname2.html" id="secondlink">Second Link</a></li> <li><a href=“yourname3.html" id="thirdlink">Third Link</a></li> </ul>
  • 15. Disassemble the page 11.Put the Header, Navigation, and Footer in separate files • yourname-head.htm • yourname-menu.htm • yourname-foot.htm 12.Include them in the original file: <!--#include virtual=“yourname-head.htm”--> (Note that this is a Server Side Include which your browser can only handle when viewing your page on a server.)
  • 16. Disassemble the page 13.Put the CSS in its own file so it can be shared by other pages. yourname-style.css <link rel="stylesheet" type="text/css" href=“yourname-style.css" /> 14.Do the same with the Javascript. yourname-javascript.js <script src="yourname-javascript.js" type="text/javascript"></script>
  • 17. Reassemble more pages 15.Change the <body> id to “secondpage” 16.Save/upload as yourname2.html 17.Change the <body> id to “thirdpage” 18.Save/upload as yourname3.html 19.View the files on the server and note how they work together.
  • 18. Tips • Never put spaces in Web filenames. Spaces get converted to “%20” text, and browsers hate them. • Make sure all random photos are exactly the same size. Page layout usually adapts to photo size. • Keep images in a separate folder. Just a good housekeeping rule. • Keep content current. If people wanted to see old information, they’d look on a printed piece.