working with text and graphics

35
Create Unordered and Ordered lists Cascading Style Sheets Insert and align Graphics Image enhancements Background images and site maintenance Working with Text and Graphics

Upload: nitara

Post on 17-Jan-2016

31 views

Category:

Documents


3 download

DESCRIPTION

OVERVIEW. Working with Text and Graphics. Create Unordered and Ordered lists Cascading Style Sheets Insert and align Graphics Image enhancements Background images and site maintenance. INTRODUCTION. Text as Lists. Breaks up text Increases readability 3 Types of Lists: Unordered - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Working with Text and Graphics

Create Unordered and Ordered lists

Cascading Style Sheets

Insert and align Graphics

Image enhancements

Background images and site maintenance

Working with Textand Graphics

Page 2: Working with Text and Graphics

Breaks up text

Increases readability

3 Types of Lists:

Unordered

Ordered

Definitions

Text as Lists

Page 3: Working with Text and Graphics

Cascading Style SheetsSave you time

Ensure consistency

2 Types of style sheets:

Internal style sheetsExternal style sheets(for applying to multiple pages)

Page 4: Working with Text and Graphics

Graphics

Not too many!

Not too few!

Store in Assets folder

3 Web graphic file formats:

GIF

JPEG

PNG

Page 5: Working with Text and Graphics

Lists

Unordered bulleted

Ordered numbered

Definition term + indented paragraph

This slide is an example of an unordered list. What characteristics of this list improve readability?What other formatting might improve its readability?

Page 6: Working with Text and Graphics

Create a List

1. Select paragraphs of text to be included in list

2. Click List button in Property Inspector

This slide is an example of an ordered list.What characteristics of this list improve readability?What other formatting might improve its readability?

Page 7: Working with Text and Graphics

Property Inspector

unordered ordered

List Item properties

Page 8: Working with Text and Graphics

List HTML

unordered list“square” bullets

line items

closeline item

</ul>close <ul>

(not shown)

Page 9: Working with Text and Graphics

Cascading Style Sheetsselector

declaration

property

value

Page 10: Working with Text and Graphics

Internal style sheetChange a property here…

<selector>text</selector>

Internal CSSs save you some time…

<selector>text</selector>

<selector>text</selector>

<selector>text</selector>

<selector>text</selector>

…all text using thatselector is updated

Page 11: Working with Text and Graphics

External CSSs save you time…

external(.css)

.html

Change a property here…

…every page using the style sheetis automatically updated

Page 12: Working with Text and Graphics

Cascading…

<inline formatting>Affected Text</inline formatting>

external

internal

3. inline

1. external style sheet

2. internal style sheet

All styles are applied, but the propertyclosest to the text wins!

(These property values override style sheets)

Page 13: Working with Text and Graphics

Create a Style Selector

external internal

“class” propertiescan override anyselector properties

Standard HTMLtags get a new look

4 link states:linkvisitedhoveractive

List changesAccording to “Type”

Page 14: Working with Text and Graphics

Declare a Style

font properties

.bullets

Page 15: Working with Text and Graphics

Apply a Style

select textthen applya style…

…to apply class styleor CSS selector

…to apply HTML style

Page 16: Working with Text and Graphics

Apply an external style sheet

Click toapply anexternal stylesheet to thispage

Page 17: Working with Text and Graphics

Insert and Align Graphics

File formats

Assets panel

Image alignment

Page 18: Working with Text and Graphics

Graphic file formats

GIF “giff” (not “jiff”)

JPEG “jay-peg”

PNG “ping”

Page 19: Working with Text and Graphics

GIF

256 solid colors1 transparent color per image

Animate gif files

Page 20: Working with Text and Graphics

JPEG

16.7 million colors gradients and shadows

No transparency

No animationLossy everytime you save a jpeg, the file becomes

smaller and loses quality

Page 21: Working with Text and Graphics

PNG

16.7 million colors gradients and shadows

256 transparent colors per image

Lossless

Page 22: Working with Text and Graphics

Assets PanelStores & categorizes items you may re-use in

several HTML pages:Images

Colors

URLs links

Flash

Shockwave

Movies

Scripts

Templates

Library

Page 23: Working with Text and Graphics

Assets Panel

categories

thumbnail

favorites

Page 24: Working with Text and Graphics

Adding a graphic from the Site or Assets panel

drag it!

Page 25: Working with Text and Graphics

Adding a graphic to the Assets panel

Proofreading

Window size

Links

Page 26: Working with Text and Graphics

Aligning Images

image alignment Text and imageAlignment (<div>)

Page 27: Working with Text and Graphics

Enhance Images

Borders

Space

Alternate TextModify the image and image sizeusing an image editing program

Page 28: Working with Text and Graphics

Borders

Border thickness

Page 29: Working with Text and Graphics

Space horizontal and vertical

Verticalspace

Horizontalspce

Page 30: Working with Text and Graphics

Resizing Graphics

Don’t resize graphics within a page– Smaller: file size unnecessarily large– Larger: image loses quality

Reset Size matches height and width to source

Page 31: Working with Text and Graphics

Background Images

File size: smallImage size: small for tiling

Image size: large use style for white space, no tile and move with scroll

Affects Readability

Page 32: Working with Text and Graphics

Insert a Background Image

selectan image

Page 33: Working with Text and Graphics

Background Imageusing Styles

image

tiling

follow?

positioning

Page 34: Working with Text and Graphics

Remove non-Web-safecolors from Web site

Web-safecolor valuesinclude 3 pairs…

…not safe!

Page 35: Working with Text and Graphics

Unit SummaryCreate listsCreate, apply and editCascading Style SheetsInsert and Align Graphics Add linksEnhance imagesAdd Background ImageRemove unused images & non-Web colors