Robby Seitz 121 Powers Hall 662-915-7822 ADVANCED WEB DESIGN USING DREAMWEAVER.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
Advertisements

CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
Cascading Style Sheets
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
Today CSS HTML A project.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Advanced Web Design Using Dreamweaver Robby Seitz 121 Powers Hall
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
Cascading Style Sheets Based on Castro, HTML for the WWW, 6 th edition Ron Gerton, Fall 2007.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Robby Seitz 121 Powers Hall ADVANCED WEB DESIGN USING DREAMWEAVER
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Chapter 8 Creating Style Sheets.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
16 HTML Tables and Frames Section 16.1 Create a basic table using HTML Define borders Merge cells Align content in tables Section 16.2 Create a frames-based.
HCI 201 Week 6 Client Side Image Maps Introduction to CSS.
Cascading Style Sheets Scripting with Style. CSS versus HTML  Ways to format in HTML –HTML Tag extensions –Converting Text to images –Page Layout with.
4.01 Cascading Style Sheets
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Principles of Web Design 6 th Edition Chapter 4 – Cascading Style Sheets.
Cascading Style Sheets (CSS) Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Cascading style sheets (CSS)
Chapter 3 Working with Text and Cascading Style Sheets.
Dreamweaver -- CSS. Dreamweaver -- MX New icons are added in MX Most of the features commonly used in web design, and are same as FrontPage. New feature.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit F Working with Tables.
Using Styles and Style Sheets for Design
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
Cascading Style Sheets by Pavlovic Nenad by. Presentation Contents  What is CSS?  Why CSS?  Types of Style Sheets  Style Sheets Syntax  Box Formatting.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Chapter 6 Introducing Cascading Style Sheets Principles of Web Design, 4 th Edition.
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
ECA225 Applied Interactive Programming Cascading Style Sheets, pt 1 ECA 225 Applied Online Programming.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
1 © Netskills Quality Internet Training, University of Newcastle Using Style Sheets in Dreamweaver CS © Netskills, Quality Internet Training, University.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Cascading Style Sheets CSS. Source W3Schools
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
Copyright © 2006, Jumail, FSKSM, UTM Slide 1 Cascading Style Sheets (CSS)
Week 2: Building a Simple Website IMC 320 Web Publishing Spring 2011.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
5 th ed: Chapter 4 4 th ed: Chapter 5 SY306 Web and Databases for Cyber Operations Slide Set #4: CSS.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
CSS Cascading Style Sheets *referenced from
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
XP Dreamweaver MX 2004 Tutorial 3 1 Adding and Formatting Text.
ECA 228 Internet/Intranet Design I Cascading Style Sheets.
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
4.01 Cascading Style Sheets
Cascading Style Sheets
IS333: MULTI-TIER APPLICATION DEVELOPMENT
What are Cascading Stylesheets (CSS)?
Using Cascading Style Sheets (CSS)
4.01 Cascading Style Sheets
Presentation transcript:

Robby Seitz 121 Powers Hall ADVANCED WEB DESIGN USING DREAMWEAVER

Assumptions You already understand HTML tags. You can already use Dreamweaver. You understand file name and folder location concepts. You want to know more.

The Problem – part 2 When we last saw our code, we were embedding all the layout details within the content, thus violating the rule about separating the two. What we need is a type of code that describes the layout of the content, but isn't all mixed in with the content. CSS to the rescue!

Cascading Style Sheets HTML describes only the content of the document.,, describe the type of content, and not specifically how they should appear. The formatting of these elements by the browser is very limited. CSS was added to describe the layout of the HTML elements. Styles are normally saved in external files. These allow you to change the appearance of an entire site just by editing one single file. Zen Garden

Cascading Style Sheets Example: The link element Visited links are purple Visited links are purple Unvisited links are blue Unvisited links are blue Active links are red Active links are red The style for each of these is re-definable!

Cascading Style Sheets Adding a style definition for the link element changes its appearance. a { font-weight: bold; color: yellow; background: blue; text-decoration: none; }

Cascading Style Sheets CSS can also adjust only a particular aspect of some elements. a { font-weight: bold; color: yellow; background-color: blue; text-decoration: none; } 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 section (inside the ) 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… Make all paragraphs bold face. p {font-weight: bold ;} 2. By class attribute… Make anything with class="column" green..column {color: green ;} 3. By ID attribute… Make the one element with id="header" all uppercase. #header {text-transform: uppercase ;} 4. By style attribute… Italicize this very element.

Cascading Style Sheets Identifiers may also be combined. p#myid {font-weight: bold;} The one paragraph with id="myid" will be bold. p.myclass {color: yellow;} Any paragraph with class="myclass" will be yellow. #mycontent.orange {color: orange;} Any element with class="orange" inside the one element with id="mycontent" will be orange.

Cascading Style Sheets Multiple identifiers can use the same style. p.first, p.second, p.third {font-weight: bold;} Any paragraphs with class="first", "second" or "third" will be bold. table, td {border: 1px solid black;} Every table and every table data cell will have black solid border 1 pixel wide.

Dynamic & Reusable Content What content is generated automatically? Calendar events System-generated dates Anything requiring programming Which parts of the page will appear on other pages? Create separate files for those parts and include them back into their locations. This allows you to make updates in only one place that impacts the entire site.

Deconstructing the page Identify recurring parts Header Navigation Footer Stylesheet Javascript Identify dynamic content Calendar events listing Date of last modification

Start Your Dreamweavers! 1. Define your site: Site / New Site Select Advanced Tab Local Info…  Site name: your name  Local root folder: …/Documents/yourname Remote Info…  Access: FTP  FTP host: cedar.olemiss.edu  Host directory: working  Login: maildemo  Password: ********  Use Secure FTP (SFTP): Checked

Define new page name 2. Edit  Preferences  Code Format Line break type: LF (Unix) 3. View Remote Files 4. Download the index.html file from the server 5. View Local Files 6. Change index.html to yourname1.html 7. Upload new file name to server 8. View in browser at

Customize it 9. Change “by” name and save/upload the page again.

Examine the CSS 10. Consider the left menu hover action CSS #leftcol a:hover { background: #395494; color: #dedede; } HTML … First Button Second Button Third Button Fourth Button Fifth Button Sixth Button

Customize the menu 11. Change the filenames to use your own filenames First Button Second Button Third Button Fourth Button Fifth Button Sixth Button

Disassemble the page 12. Put the Header, Navigation, and Footer in separate files  yourname-head.htm  yourname-menu.htm  yourname-foot.htm 13. Include them in the original file: (Note that this is a Server Side Include which your browser can only handle when viewing your page on a server.)

Disassemble the page 14. Put the contents of the section in separate file yourname-meta.htm.

Reassemble more pages 15. Change and page name. 16. Save/upload as yourname2.html 17. Change and page name. 18. Save/upload as yourname3.html 19. Repeat for remaining buttons. 20. Once all pages are created and uploaded, browse your site and see how the pages relate to each other.

Reminders Avoid uppercase characters and spaces Web folder and file names. Spaces get converted to “%20” text, and browsers hate them. Keep content current. If people wanted to see old information, they’d look on a printed piece.