Chapter 17: Editing Web Site Content

Add a Text Box

508398-cf1701.eps

You can add a text box to your Web page to add paragraphs, headings, and lists. You can adjust the size and position of the text box to make it fit in with the rest of the content on your page.

Add a Text Box

508398-fg1701_02.eps

001 Select the page to which you want to add text.

002 Click Text Box.

A new text box appears in the middle of the page with a blinking cursor inside it.

To add text to a placeholder text box in a template, double-click it to select its text. Press delete.eps to remove the text and add your own.

508398-fg1701_02.eps

003 Type to add your text to the text box.

You can also copy and paste text from another program.

You can press ent.eps to start a new line.

004 Click the border of the text box.

Handles appear on the sides and corners of the box.

508398-fg1703_04.eps

005 Click and drag a handle to resize the text box.

The box resizes.

Note: To change the alignment of text inside a box, see “Align Page Text.”

508398-fg1703_04.eps

006 Click and drag inside the text box to move the box to another place on the page.

A yellow box appears displaying the coordinates of the box on the page as you drag.

You can also press the arrow keys to change the position of a selected text box.

To delete a text box, click the box to select it and then press delete.eps.

TIPS

Format Text

508398-cf1704.eps

You can format text on your page to match the theme of the site or to emphasize the text. You can change the font color and size as well as how the text is spaced.

Format Text

508398-fg1705_06.eps

001 Double-click a text box.

002 Click and drag to select the text to format.

003 Click Fonts.

The Fonts dialog appears.

508398-fg1705_06.eps

004 Click a font family.

005 Click a font typeface.

006 Click a size.

508398-fg1707_08.eps

007 Click a text color.

008 Click a background color for the text.

009 Click 508398-ma346.tif to turn a drop shadow on or off.

You can adjust a drop shadow here.

010 Click 508398-ma001.tif to close the Fonts dialog.

011 Click Inspector.

508398-fg1707_08.eps

012 In the Inspector, click the Text Inspector icon (508398-ma336.tif).

013 Click Text.

iWeb lists the text settings.

014 Click and drag the slider to control character spacing.

015 Click and drag the slider to control line spacing.

016 Click and drag the sliders to control paragraph spacing.

017 Click 508398-ma001.tif to close the Inspector.

iWeb formats the text.

TIPS

Align Page Text

508398-cf1705.eps

You can control the horizontal or vertical positioning of text on your page. For example, you can align a bold heading in the center of the page or top-align several paragraphs beneath photo.

Align Page Text

Align Text Horizontally

508398-fg1709_10.eps

001 Click to select the text box whose text you want to align.

002 Click Inspector.

The Inspector appears.

003 Click the Text Inspector icon (508398-ma336.tif).

004 Click Text.

508398-fg1709_10.eps

005 Click a horizontal alignment.

You can horizontally align text to the left, right, or center. You can also justify text, which aligns it to both the left and right.

iWeb aligns the text.

In this example, the heading text is center-aligned.

Align Text Vertically

001 Click to select the text box whose text you want to align.

002 Click Inspector.

The Inspector appears.

508398-fg1711.eps

003 Click the Text Inspector icon (508398-ma336.tif).

004 Click Text.

005 Click a vertical alignment.

You can vertically align text to the top, middle, or bottom of a text box.

iWeb aligns the text.

In this example, the body text is top-aligned.

TIPS

Add a Hyperlink

508398-cf1706.eps

You can connect your Web page to another page by turning text or other objects on the page into hyperlinks, also known as links. Hyperlinked text on a page is usually distinguished with a different color and underlining. You can create a link to another page in your site, an external page on the Web, or an e-mail address.

Add a Hyperlink

Link to a page in your Site

508398-fg1712_13.eps

001 Select the text or object you want to turn into a hyperlink.

002 Click Inspector.

The Inspector appears.

003 Click the Link Inspector icon (508398-ma337.tif).

004 Click Hyperlink.

You can also click Insert, Hyperlink, and then Web Page.

508398-fg1712_13.eps

005 Click Enable as a hyperlink (508398-ma005.tif changes to 508398-ma006.tif).

006 Click here and select One of My pages.

007 Click the Page 508398-ma342.tif and select the destination page.

iWeb creates a hyperlink.

Note: You can also add links to other pages in your site with page navigation. See Chapter 16 for details.

Link to an external Page

508398-fg1714_15.eps

008 With additional text selected, click here and select An External Page.

009 Type the Web address for the external page.

To get the Web address for a page, you can view the page in a Web browser and copy the address from the browser address box.

You can click here to cause the destination page to be opened in a new browser window (508398-ma005.tif changes to 508398-ma006.tif).

iWeb creates the hyperlink.

Create an E-mail Link

508398-fg1714_15.eps

010 With additional text selected, click here and select An Email Message.

You can also click Insert, Hyperlink, and then Email Message.

011 Type the e-mail address.

012 Type an e-mail subject.

iWeb creates the hyperlink.

TIPS

Add an Image

508398-cf1707.eps

You can add an image to illustrate a passage of text or to add decoration to a plain-looking page. You can choose images from your iPhoto library. To easily add a collection of photos as an album to your Web site, see Chapter 18.

Add an Image

508398-fg1716_17.eps

001 Select the page to which you want to add an image.

002 Click Photos in the media pane.

Note: If the media pane is not visible, click Show Media at the bottom of the workspace to display it.

iWeb displays images from the iPhoto library.

To make more photos available, you can drag folders containing images from the Finder to the media pane.

003 Click a list item to display images from iPhoto. For more about organizing images, see Chapter 4.

004 Click and drag an image to an image placeholder.

Placeholders are the generic content items that appear when you create a page from a template.

508398-fg1716_17.eps

iWeb replaces the placeholder image.

005 Click and drag an image to an empty area of the page.

508398-fg1718.eps

iWeb adds the image to the page.

You can click and drag the image to reposition it.

Note: To customize the image, see “Resize an Image” and “Mask an Image.”

TIPS

Resize an Image

508398-cf1708.eps

You can resize an image on your page to emphasize or de-emphasize it, or to make it fit in with the other page content. You can control the size of your image, as well its position on the page, using the Metrics Inspector. Note that resizing an image to greater than its original size can make it look blurry.

Resize an Image

Use Image Handles

508398-fg1719_20.eps

001 Click to select an image.

Handles appear on the edges of an image.

002 Click and drag a side handle to change one dimension of the image.

003 Click and drag a corner handle to change two dimensions of the image at once.

To keep the image at the same proportions, press shift.eps as you click and drag a corner handle.

508398-fg1719_20.eps

iWeb resizes the image.

In this example, the bottom left corner handle was used to shrink the image.

Note: You can click Edit and then Undo to revert to the previous size.

Use the Metrics Inspector

508398-fg1721_22.eps

001 Click to select an image.

002 Click Inspector.

The Inspector opens.

003 Click the Metrics Inspector icon (508398-ma338.tif).

004 Type new dimensions here.

Note: Image sizes are measured in pixels (px). Pixels are the tiny, solid-color squares that make up digital images.

You can click Constrain proportions (508398-ma006.tif changes to 508398-ma005.tif) to change one dimension at a time. This will distort the image.

508398-fg1721_22.eps

iWeb resizes the image.

Note: You can click Edit and then Undo to revert to the previous size.

TIPS

Mask an Image

508398-cf1709.eps

You can mask an image to crop it, which removes unwanted areas of the image from view. iWeb hides the masked areas without removing them from the original image, so you can still crop the image differently later. You can also zoom the image within the masked area.

Mask an Image

508398-fg1723_24.eps

001 Click to select an image.

002 Click Mask (Mask changes to Unmask).

iWeb adds a mask to the image.

003 Click and drag the handles to adjust how the image is cropped.

508398-fg1723_24.eps

004 Click and drag the slider to zoom the image. Drag left to zoom out or right to zoom in.

iWeb zooms the image under the mask.

508398-fg1725_26.eps

005 Click and drag inside the tool to adjust the position of the image.

006 Click away from the masking tool.

508398-fg1725_26.eps

iWeb displays the masked image.

You can click the image again to display the masking tools and adjust the image further.

TIPS

Insert a Shape

508398-cf1710.eps

You can insert a shape to use as a text box or to decorate your page. To customize the shape, you can fill it with a color, gradient, or image. You can also stroke the outside edge with a color or add a drop shadow.

Insert a Shape

508398-fg1727_28.eps

001 Select the page to which you want to add an image.

002 Click Shapes.

A list of shapes appears.

508398-fg1727_28.eps

003 Click a shape.

iWeb adds the shape to the page.

004 Click and drag the side and corner handles to resize the shape.

005 Click the shape and drag to reposition it.

You can customize some shapes using additional settings.

006 Click Inspector.

The Inspector opens.

508398-fg1729_30.eps

007 Click the Graphic Inspector icon (508398-ma339.tif).

008 Use these settings to fill the shape with a color, gradient, or image.

009 Use these settings to outline the shape.

010 Use these settings to apply a drop shadow.

508398-fg1729_30.eps

011 Double-click the shape.

A blinking cursor appears in the shape.

012 Type to add text inside the shape.

Note: To format the text, see “Format Text.”

TIPS

Wrap Text Around an Image

508398-cf1711.eps

You can wrap text around an image to fit more content on your page or to associate an image with descriptive text. To wrap text around an image, you insert the image in a text box and then select the alignment settings.

Wrap Text Around an Image

508398-fg1731_32.eps

001 Click Photos in the media pane.

Note: If the media pane is not visible, click Show Media at the bottom of the workspace to display it.

iWeb displays images from the iPhoto library.

002 Press and hold cmd.eps.

003 Click and drag an image to a text box.

508398-fg1731_32.eps

iWeb inserts the image into the text box.

004 Click Inspector.

The Inspector opens.

005 Click the Text Inspector icon (508398-ma336.tif).

006 Click Wrap.

508398-fg1733_34.eps

007 Double-click the image to select it.

008 Click Object causes wrap (508398-ma005.tif changes to 508398-ma006.tif).

009 Click an alignment; this example aligns the image to the left.

Click here to align the image to the right.

508398-fg1733_34.eps

iWeb aligns the image.

The text is wrapped to the opposite side.

010 Adjust the space between the image and the text here.

TIPS