Chapter 3 Working with Text and Cascading Style Sheets.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Advertisements

Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Project 8 Creating Style Sheets.
Creating and Editing a Web Page Using Inline Styles
Chapter 8 Creating Style Sheets.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
Beginning Web Site Creation: Dreamweaver CS4. XHTMLCSS  Describes the structure  Content  Collection of styles  Formatting body { background-color:
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Chapter 7 Using Advanced Cascading Style Sheets HTML5 & CSS 7 th Edition.
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.
Understanding HTML Style Sheets. What is a style?  A style is a rule that defines the appearance and position of text and graphics. It may define the.
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.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
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.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
Chapter 3 Working with Text and Cascading Style Sheets.
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
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,
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.
The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file names. File names ARE.
Tutorial 5 Formatting with CSS. Objectives Session 5.1 – Evaluate why CSS styles are used – Determine where to write styles – Create an element selector.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
Working with Text and Cascading Style Sheets. Unit Objectives Create a new page Import text Set text properties Create an unordered list Understand Cascading.
Formatting TEXT AND Using CSS. Adobe Dreamweaver CS3 - Illustrated.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets.
Bare bones slide show. The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file.
IT204 - Web Scripting and Authoring I Introduction to Dreamweaver Unit 6.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
Adobe Dreamweaver CS5 - Illustrated Unit D: Working with Text and Cascading Style Sheets.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Adobe Dreamweaver CS4 - Illustrated Formatting Text Using HTML and CSS Styles.
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.
Macromedia Dreamweaver MX 2004 Design Professional And Graphics WORKING WITH TEXT.
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.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Macromedia Dreamweaver 8 Revealed WEB PAGE DEVELOPING A.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page Using Inline Styles
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Creating Web Pages with Links, Images, and Embedded Style Sheets
XP Dreamweaver MX 2004 Tutorial 3 1 Adding and Formatting Text.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
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.
Getting Started with CSS
Working with Text and Cascading Style Sheets
Bare boned notes.
Madam Hazwani binti Rahmat
Unit Objectives Create a new page Import text Set text properties
Website Design 3
Working with Text and Cascading Style Sheets
Using Cascading Style Sheets (CSS)
Web Design and Development
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.
Presentation transcript:

Chapter 3 Working with Text and Cascading Style Sheets

Unordered lists are: – lists of items that do not need to appear in a specific sequence. –usually preceded by a bullet, a small dot. –contain bullets are sometimes called bulleted lists. Creating Unordered and Ordered Lists

Choosing a bulleted list style in the List Properties dialog box Bulleted list styles Style list arrow Creating Unordered and Ordered Lists

Ordered lists, which are sometimes called numbered lists, are lists of items that are presented in a specific sequence and that are preceded by sequential numbers or letters. Creating Unordered and Ordered Lists

Choosing a numbered list style in the List Properties dialog box Numbered list styles Style list arrow Creating Unordered and Ordered Lists

You can format an ordered list to show different styles of numbers or letters by using the List Properties dialog box. Creating Unordered and Ordered Lists

Creating an ordered list Ordered list items Creating Unordered and Ordered Lists

Definition lists are similar to unordered lists but have a hanging indent and are not preceded by bullets. They are often used with terms and definitions, such as in a dictionary or glossary. Creating Unordered and Ordered Lists

List Properties dialog box Square style Style list arrow Creating Unordered and Ordered Lists

Cascading Style Sheets (CSS) are made up of sets of formatting attributes called rules, which define the formatting attributes for page content. Creating, Applying, and Editing Cascading Style Sheets

New CSS Rule dialog box Class option for Selector Type New rule name Rule Definition list arrow Creating, Applying, and Editing Cascading Style Sheets

Rules are sometimes referred to as styles. Style sheets are classified by where the code is stored. Creating, Applying, and Editing Cascading Style Sheets

Style Rendering toolbar Toggle Displaying of CSS Styles button Creating, Applying, and Editing Cascading Style Sheets

The code can be saved in a separate file (external style sheet), as part of the head content of an individual web page (internal or embedded styles), or as part of the body of the HTML code (inline styles). Creating, Applying, and Editing Cascading Style Sheets

CSS are also classified by their type: –A Class type can be used to format any page element. –An ID type and a Tag type are used to redefine an HTML tag. –A Compound type is used to format a selection. Creating, Applying, and Editing Cascading Style Sheets

You use buttons on the CSS Styles panel to create, edit, and apply rules. Use the CSS Styles panel to manage your styles. Creating, Applying, and Editing Cascading Style Sheets

A CSS rule consists of two parts: –The selector is the name of the tag to which the style declarations have been assigned. –The declaration consists of a property (such as font-size or font-weight) and a value. Creating, Applying, and Editing Cascading Style Sheets

Creating a Tag selector Select Tag (redefines an HTML element) Type or select 1 Verify that su_styles.css will be the location for the new rule Creating, Applying, and Editing Cascading Style Sheets

External style sheets are separate files in a website, saved with the.css file extension. CSS can be part of an HTML file, rather than a separate file. These are called internal, or embedded, style sheets. Adding Rules and Attaching Cascading Style Sheets

External CSS files are created by the web designer. Embedded style sheets are created automatically in Dreamweaver if the designer does not create them, using default names for the rules. Adding Rules and Attaching Cascading Style Sheets

Embedded style sheets apply only to a single page, although you can copy them into the code in other pages or move them to an external style sheet. Adding Rules and Attaching Cascading Style Sheets

When you have several pages in a website, you will probably want to use the same styles for each page to ensure that all your elements have a consistent appearance. To do this, use the Attach Style Sheet button on the CSS Styles panel. Adding Rules and Attaching Cascading Style Sheets

When an HTML file is linked to other files necessary to display the page content, these files are called related files. It takes both the HTML file and the CSS file working together to display the content properly. Adding Rules and Attaching Cascading Style Sheets

Code for embedded rules and a link to an external style sheet Style sheet name in the Related Files toolbar Embedded rules are embedded in the head content Link to external style sheet Adding Rules and Attaching Cascading Style Sheets

You can customize the way your page code appears in Code view. You can: –wrap the lines of code –display or hide line numbers and hidden characters –highlight invalid code so you can fix it Using Code Tools to View and Edit Rules

You can customize the way your page code appears in Code view. You can: –have different code types appear in different colors. –indent lines of code. –display syntax error alerts. Using Code Tools to View and Edit Rules

As your pages get longer and the code more complex, you can collapse sections of code. Collapsing code lets you temporarily hide code between two different sections of code that you would like to read together. Using Code Tools to View and Edit Rules

Selecting lines of code on the index page to collapse Clicking either minus sign will collapse the selected code Select the code in lines 8 through 18 (your line numbers may vary slightly) Using Code Tools to View and Edit Rules

If you are typing code directly into Code view, Dreamweaver can speed your work by offering you code hints. Code hints are lists of tags that appear as you type. Using Code Tools to View and Edit Rules

Using code hints As you begin typing code, the shortcut menu appears when Dreamweaver recognizes the code Double-click from the list to complete your tag Using Code Tools to View and Edit Rules

You can also convert one type of style to another. You can move an embedded style to an external style sheet or an inline style to either an embedded style or a style in an external style sheet. Using Code Tools to View and Edit Rules

Moving the embedded small_text rule to the external style sheet file Selected code for small_text rule Move CSS Rules command Using Code Tools to View and Edit Rules

Moving the embedded style to the external style sheet file The embedded small_text rule will move to the su_styles file Using Code Tools to View and Edit Rules