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.

Slides:



Advertisements
Similar presentations
© 2010 Delmar, Cengage Learning Chapter 5 Positioning Objects with CSS and Tables.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
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
Project 8 Creating Style Sheets.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
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.
Chapter 3 Working with Text and Cascading Style Sheets.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
The.htm/.html Mystery When saving the template files in Internet Explorer, they will be named.htm by default. To be consistent with how the code was written.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
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.
Working with Text and Cascading Style Sheets Adobe Dreamweaver Chapter 3.
Dreamweaver Domain 3 KellerAdobe CS5 ACA Certification Prep Dreamweaver Domain 5: Organizing Content by Using Dreamweaver CS5 Adobe Creative Suite 5 ACA.
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
Organizing Content by Using Dreamweaver CS5 Domain 5.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Tutorial 6 Creating Tables and CSS Layouts. Objectives Session 6.1 – Create a data table to display and organize data – Modify table properties and layout.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
Working with Cascading Style Sheets. Introducing Cascading Style Sheets Style sheets are files or forms that describe the layout and appearance of a document.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
Different ways to implement CSS. There are four different ways to use CSS in your web pages: – Inline CSS – Embedded CSS/Internal CSS – Linked CSS/External.
Chapter 3 Working with Text and Cascading Style Sheets.
Getting Started with Expression Web 3
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Using Dreamweaver. Slide 1 Dreamweaver has 2 screens that do different things The Document window where you create your WebPages The Site window where.
The Characteristics of CSS
Using Styles and Style Sheets for Design
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
INTRODUCTION TO HTML5 CSS Styles. Understanding Style Sheets  HTML5 enables you to define many different types of content on a web page, including headings,
Web Technologies Website Development Trade & Industrial Education
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Website Development with Dreamweaver
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.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
CIS 205—Web Design & Development Dreamweaver Chapter 5 Using HTML Tables to Lay Out a Page.
Cascading Style Sheets: Got Branding?. What is CSS? CSS = Cascading Style Sheets Styles define how HTML (web) elements are displayed. One (or more) style.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: – The head content – The body Creating Head Content and Setting Page.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Project 4: Yosemite CSS Layout
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
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.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Positioning Objects with CSS and Tables
CSS FOUNDATIONS IN-DEPTH The nitty-gritty of css...
Understanding CSS Cascading Style Sheets control the presentation of content in HTML pages Style Sheets separate formatting from the content –Styles defined.
XP Dreamweaver MX 2004 Tutorial 3 1 Adding and Formatting Text.
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.
Dreamweaver – Setting up a Site and Page Layouts
4.01 Cascading Style Sheets
Plug-In T11: Creating Webpages Using Dreamweaver
Positioning Objects with CSS and Tables
Unit Objectives Create a new page Import text Set text properties
Tutorial 6 Creating Dynamic Pages
Working with Text and Cascading Style Sheets
What are Cascading Stylesheets (CSS)?
Using Cascading Style Sheets (CSS)
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
4.01 Cascading Style Sheets
5.00 Apply procedures to organize content by using Dreamweaver. (22%)
Positioning Objects with CSS and Tables
Presentation transcript:

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 layouts in the New Document dialog box

Use CSS to Implement a Reusable Design Layouts contain div tags with placeholder text, which you can replace with your own content Div tags also use CSS for design and formatting

Use CSS to Implement a Reusable Design CSS are a group of formatting rules that control the appearance of the content in a web page The rules, or CSS styles, are separated from the content in the page making : – It easier to maintain the appearance of the page – The HTML code simpler – Browser load times shorter – Navigation accessibility issues simplified

Use CSS to Implement a Reusable Design You can save CSS: – In an external style sheet – In a different part of the HTML document Usually the HEAD section

Use CSS to Implement a Reusable Design External Style Sheet: – Its own data file –.css file extension – Attach to an HTML file using the Attach Style Sheet Button in the CSS Styles Panel – Multiple pages can reference the same external style sheet Making it easier to update and maintain the appearance of the entire website

Use CSS to Implement a Reusable Design By default, Dreamweaver uses CSS to format text Styles that are applied to text using the Property Inspector or menu commands create CSS rules You can use the CSS Styles panel to create and edit CSS rules and properties

Use CSS to Implement a Reusable Design The CSS Styles panel also displays: – All the CSS Rules that are defined within the active document – Any external style sheets that may be attached

Use CSS to Implement a Reusable Design You can use the CSS Styles panel to define: – The background – Default font – Link properties – Customizations to heading tags

Use CSS to Implement a Reusable Design You can use the buttons at the bottom of the CSS Styles panel to: – Create a new CSS rule – Edit an existing rule – Delete a rule

Use CSS to Implement a Reusable Design The Edit Rule button opens the CSS Rule definition dialog box for the specific rule you have selected. You can format: – Type – Backgrounds – Margins – Padding – Create a border or a list

Use CSS to Implement a Reusable Design If you make formatting changes to text using options on the CSS Property inspector, Dreamweaver opens the New CSS Rule dialog box, prompting you to name a new rule for those changes

Use CSS to Implement a Reusable Design Selector Type options include: – Class – ID – Tag – Compound

Use CSS to Implement a Reusable Design The Class option: – Creates a custom style that can be applied to any HTML element – Class names must begin with a dot

Use CSS to Implement a Reusable Design The Tag option: – Allows you to redefine the default formatting for a specific HTML tag The Compound option: – Lets you redefine a rule for two or more tags, classes, or IDs simultaneously

Use CSS to Implement a Reusable Design In Live view, you can click the Inspect button to quickly identify HTML elements and the related CSS style Simply hover the mouse over an element in the document window, and the associated code is highlighted in the code pane – Inspect mode only works in Show Code and Design views

Use CSS to Implement a Reusable Design Visual Aids are also available when working with CSS Styles: – CSS Layout Outlines – CSS Layout Backgrounds – CSS Layout Box Model To view an aid, click Visual Aids on the view menu, and then click an aid

Use CSS to Implement a Reusable Design CSS Layout Outlines – Displays the outline for all the CSS layout blocks on a page CSS Layout block – Includes div tags, images assigned with either an absolute or relative position, a tag with the display:block style assigned, or a paragraph with an absolute or relative position assigned to it

Use CSS to Implement a Reusable Design CSS Layout Background – Displays colors for individual CSS layout blocks and hides any other background colors or images that normally appear on that page The CSS Layout Box Model: – Displays the padding and margins of the selected CSS layout block

Use CSS to Implement a Reusable Design Reasons to Use CSS Layout and External Style Sheets instead of tables: – Load time: Pages will load faster because code is cleaner and not as complicated, and if multiple pages use the same style sheer, the layout code has already been cached – Redesign: redesigns are easier because code is simpler and separate from content code, making it easier to update, more efficient and less expensive

Use CSS to Implement a Reusable Design – Consistency: It is much easier to maintain visual consistency between pages because all pages reference the same external style sheet – Search engine optimization: Improves search engine optimization by decreasing the file size, making it easier for the search engine spiders to crawl through the web site

Use CSS to Implement a Reusable Design – Accessibility: improves accessibility by separating content from visual information, allows for more distinct placement of interactive elements, and has increased compatibility and support with web browsers, screen readers, and mobile devices – Usability: Usability is improved by decreasing download time and eliminating the need for a printer-friendly version – Complexity: Layouts are not longer based on table grids, providing the ability to create more complex layouts