Download presentation
Presentation is loading. Please wait.
Published byCharleen Kelley Modified over 9 years ago
1
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES
2
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
3
Breaks up text Increases readability Three types of lists: Unordered Ordered Definitions Text as Lists
4
Cascading Style Sheets Saves you time Ensures consistency Applies formatting attributes to an entire site
5
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
6
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
7
Creating Ordered Lists Called numbered lists Preceded by numbers or letters in a sequence
8
Creating Definition Lists Definition lists do not have bullets Select paragraphs of text to be included in list Click Text List Definition List
9
Unordered list button Ordered list button List item button Click to collapse Property inspector Fig. 1: Expanded Property Inspector
10
List type list arrow Numbered list styles Fig. 2: Choosing a Numbered List Style
11
Style list arrow List type list arrow Fig. 4: List Properties Dialog Box
12
Fig. 5: HTML Tags in Code View for Unordered List Beginning tag for unordered list First pair of tags for first list item
13
Text color button Formatted heading Fig. 7: Spa Page with Ordered List Formatted body text Bold button
14
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
15
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
16
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
17
selector declaration property value Fig. 9: Cascading Style Sheet File
18
Working with CSS Create a CSS and a style Apply a CSS Edit a CSS
19
New style name Class option for Selector Define in list arrow Fig. 11: New CSS Rule Dialog Box
20
Type category selected Fig. 12: CSS Rule Definition for.bullets in su_styles.css Dialog Box
21
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
22
Properties of the bullets style Fig. 17: Editing a CSS Style Font size list arrow Properties pane
23
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.
24
Fig. 19: Code for Embedded Styles
25
New style name Fig. 20: Adding a Style to a CSS Style Sheet
26
Fig. 21: Formatting Options for Heading Style
27
Link option button su_styles.css Fig. 24: Attaching a Style Sheet to a Page
28
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
29
Understanding Graphic Formats Three primary graphic file formats: GIF JPEG PNG
30
GIF Graphic Interchange Format Downloads very quickly Limited in color Can show transparent areas
31
JPEG Joint Photographic Experts Groups Can display many colors Photographs are often saved in this format
32
PNG Portable Network Graphics Shares advantages of GIFs and JPEGs Not universally recognizable by older browsers
33
The Assets Panel Located in the Files panel group Displays all the assets in a Web site Has Favorites button Contains nine categories
34
The Assets Panel Categories include: Images Colors URLs Flash
35
The Assets Panel Categories include: Shockwave Movies Scripts Templates Library
36
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
37
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
38
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
39
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
40
boardwalk.jpeg image is selected Fig. 29: Using Adobe Bridge
41
Left-aligned image Text wrapped around image Left-aligned option selected Fig. 31: Left-aligned Club House Image
42
Enhancing Images Borders Add horizontal space Brightness/Contrast Modify the image and image size using an image editing program
43
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
44
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
45
Image with horizontal and vertical space Image without horizontal and vertical space Fig. 35: Comparing Images with Horizontal and Vertical Space
46
Drag slider to adjust brightness Fig. 36: Brightness and Contrast Settings
47
Alternate text box Fig. 37: Alternate Text Setting
48
Alternate text displayed on top of image Fig. 38: Alternate Text Displayed in Browser
49
Accessibility category Check boxes for Form objects, Frames, Media, and Images Fig. 39: Preferences Dialog Box with Accessibility Category Selected
50
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
51
Managing Images Adding and removing background images Delete files from Web site Remove non-Websafe colors from Web site
52
Selected filename Fig. 43: Removing a Background Image
53
Drag the border to the left to expand panel width Both colors are websafe Fig. 45: Colors Listed in Assets Panel
54
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.