+ All Categories
Home > Technology > Dreamweaver Ch03

Dreamweaver Ch03

Date post: 10-Jul-2015
Category:
Upload: fucilef
View: 1,336 times
Download: 0 times
Share this document with a friend
Popular Tags:
54
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES
Transcript
Page 1: Dreamweaver Ch03

Adobe Dreamweaver CS3 Revealed

CHAPTER THREE: WORKING WITH TEXT AND IMAGES

Page 2: Dreamweaver Ch03

Chapter 3 Lessons

1. Create unordered and ordered lists

2. Create, apply, and edit Cascading Style Sheets

3. Add styles and attach Cascading Style Sheets

4. Insert and align images

5. Enhance an image and use alternate text

6. Insert a background image and perform site maintenance

Page 3: Dreamweaver Ch03

Breaks up text

Increases readability

Three types of lists:

Unordered

Ordered

Definitions

Text as Lists

Page 4: Dreamweaver Ch03

Cascading Style Sheets

Saves you time

Ensures consistency

Applies formatting attributes to an entire site

Page 5: Dreamweaver Ch03

Using Images to Enhance Web Pages

Use graphics sparingly

Can complement content of pages

Store in assets folder

Three Web graphic file formats:

GIF

JPEG

PNG

Page 6: Dreamweaver Ch03

Creating Unordered Lists

Unordered or bulleted

This slide is an example of an unordered list

Select paragraphs of text to be included in list

Click the Unordered List button in Property inspector

Default bullet style is a round dot

Page 7: Dreamweaver Ch03

Creating Ordered Lists

Called numbered lists

Preceded by numbers or letters in a sequence

Page 8: Dreamweaver Ch03

Creating Definition Lists

Definition lists do not have bullets

Select paragraphs of text to be included in list

Click Text List Definition List

Page 9: Dreamweaver Ch03

Unordered list button

Ordered list button

List item button

Click to collapse Property inspector

Fig. 1: Expanded Property Inspector

Page 10: Dreamweaver Ch03

List type list arrow

Numbered list styles

Fig. 2: Choosing a Numbered List Style

Page 11: Dreamweaver Ch03

Style list arrow

List type list arrow

Fig. 4: List Properties Dialog Box

Page 12: Dreamweaver Ch03

Fig. 5: HTML Tags in Code View for Unordered List

Beginning tag for unordered list First pair of tags for

first list item

Page 13: Dreamweaver Ch03

Text color button

Formatted heading

Fig. 7: Spa Page with Ordered List

Formatted body text

Bold button

Page 14: Dreamweaver Ch03

Cascading Style Sheets

Sets of rules

Style or rule: formatting attribute that can be applied to page elements

Can be created, edited or applied

New CSS Rule dialog box

CSS Rule definition dialog box

CSS Styles panel

Page 15: Dreamweaver Ch03

Types of CSS

External CSS

Saved as a separate file (.css)

Stored in the directory structure of a Web site

Internal CSS

Embedded in the code on an individual page

Page 16: Dreamweaver Ch03

CSS Style Sheet Codes

The selector is the name of the tag to which the style declarations have been assigned

The declaration consists of the property and the value

Page 17: Dreamweaver Ch03

selector

declaration

property

value

Fig. 9: Cascading Style Sheet File

Page 18: Dreamweaver Ch03

Working with CSS

Create a CSS and a style

Apply a CSS

Edit a CSS

Page 19: Dreamweaver Ch03

New style name

Class option for Selector

Define in list arrow

Fig. 11: New CSS Rule Dialog Box

Page 20: Dreamweaver Ch03

Type category selected

Fig. 12: CSS Rule Definition for .bullets in su_styles.css Dialog Box

Page 21: Dreamweaver Ch03

Toggle Displaying of CSS Styles button

Selected text

Click to set font of selected text to Default Font

Click to set size of selected text

to None

Click to apply bullets style to selected text

Fig. 15: Applying a CSS Style

Page 22: Dreamweaver Ch03

Properties of the bullets style

Fig. 17: Editing a CSS Style

Font size list arrow

Properties pane

Page 23: Dreamweaver Ch03

Add Styles and Attach CSS

.css files created by Web designer

Embedded style sheets created automatically by Dreamweaver

Set preference to Use CSS instead of HTML

Formatting in Property inspector

Code in Head content of file

Named style1, style2, etc.

Page 24: Dreamweaver Ch03

Fig. 19: Code for Embedded Styles

Page 25: Dreamweaver Ch03

New style name

Fig. 20: Adding a Style to a CSS Style Sheet

Page 26: Dreamweaver Ch03

Fig. 21: Formatting Options for Heading Style

Page 27: Dreamweaver Ch03

Link option button

su_styles.css

Fig. 24: Attaching a Style Sheet to a Page

Page 28: Dreamweaver Ch03

Code linking external style sheet file to the

index page

Code that applies the body_text style to the

paragraph

Fig. 25: Viewing the Code to Link the CSS Style Sheet File

Page 29: Dreamweaver Ch03

Understanding Graphic Formats

Three primary graphic file formats:

GIF

JPEG

PNG

Page 30: Dreamweaver Ch03

GIF

Graphic Interchange Format

Downloads very quickly

Limited in color

Can show transparent areas

Page 31: Dreamweaver Ch03

JPEG

Joint Photographic Experts Groups

Can display many colors

Photographs are often saved in this format

Page 32: Dreamweaver Ch03

PNG

Portable Network Graphics

Shares advantages of GIFs and JPEGs

Not universally recognizable by older browsers

Page 33: Dreamweaver Ch03

The Assets Panel

Located in the Files panel group

Displays all the assets in a Web site

Has Favorites button

Contains nine categories

Page 34: Dreamweaver Ch03

The Assets Panel

Categories include:

Images

Colors

URLs

Flash

Page 35: Dreamweaver Ch03

The Assets Panel

Categories include:

Shockwave

Movies

Scripts

Templates

Library

Page 36: Dreamweaver Ch03

Inserting Files with Adobe Bridge

Bridge is an easy way to view files outside the Web site before bringing them into the Web site

Integrated application

Works with other Adobe programs such as Photoshop and Illustrator

Use Bridge to add meta tags and search text to your files

Page 37: Dreamweaver Ch03

Aligning Images

Aligning images means to position them in relation to other elements

Default:

bottom edge aligns with the baseline of the first line of text or any other element in the same paragraph

Page 38: Dreamweaver Ch03

Drag gripper to undock

Images button

Category buttons

List of images in Web site

Site option button

Favorites option button

Thumbnail of selected image

Fig. 26: The Assets Panel

Page 39: Dreamweaver Ch03

club_house.jpeg inserted

Image path(should begin with assets) Inserted file listed

in assets folder

Fig. 26: The Striped Umbrella About Us Page with Inserted Image

Page 40: Dreamweaver Ch03

boardwalk.jpeg image is selected

Fig. 29: Using Adobe Bridge

Page 41: Dreamweaver Ch03

Left-aligned image

Text wrapped around image Left-aligned

option selected

Fig. 31: Left-aligned Club House Image

Page 42: Dreamweaver Ch03

Enhancing Images

Borders

Add horizontal space

Brightness/Contrast

Modify the image and image size using an image editing program

Page 43: Dreamweaver Ch03

Alternate Text

Descriptive text that appears in place of an image when the image is downloading or when the mouse pointer is placed over it

Makes your Web page viewer-friendly and handicapped accessible

Priority 1 Checkpoint

Page 44: Dreamweaver Ch03

Selected image with 1-pixel

border

V Space text box

H Space text box

Border text box

Fig. 34: Using Property Inspector to Add a Border

Page 45: Dreamweaver Ch03

Image with horizontal and vertical space

Image without horizontal and vertical space

Fig. 35: Comparing Images with Horizontal and Vertical Space

Page 46: Dreamweaver Ch03

Drag slider to adjust brightness

Fig. 36: Brightness and Contrast Settings

Page 47: Dreamweaver Ch03

Alternate text box

Fig. 37: Alternate Text Setting

Page 48: Dreamweaver Ch03

Alternate textdisplayed ontop of image

Fig. 38: Alternate Text Displayed in Browser

Page 49: Dreamweaver Ch03

Accessibility category

Check boxes forForm objects,

Frames, Media,and Images

Fig. 39: Preferences Dialog Box with Accessibility Category Selected

Page 50: Dreamweaver Ch03

Background Images

Keep file size small

Use a tiled image

Small graphic that repeats across or down a page

Or a larger non-tiled image

Use either a background color or a background image, but not both

Page 51: Dreamweaver Ch03

Managing Images

Adding and removing background images

Delete files from Web site

Remove non-Websafe colors from Web site

Page 52: Dreamweaver Ch03

Selected filename

Fig. 43: Removing a Background Image

Page 53: Dreamweaver Ch03

Drag the border to the left

to expand panel width

Both colors are websafe

Fig. 45: Colors Listed in Assets Panel

Page 54: Dreamweaver Ch03

Chapter 3 Tasks

Create unordered and ordered lists

Create/apply/edit Cascading Style Sheets

Add styles and attach Cascading Style Sheets

Insert and align graphics

Enhance an image and use alternate text

Insert a background image and perform site maintenance


Recommended