Creating a Text Slice

 < Day Day Up > 

The about.png file you have been working on will contain a brief history of the company founder. You could import the text for the page and format it as you did the text on the home page. However, this page contains more text, and you don't want it to be a graphic; remember that all text in Fireworks is converted to a graphic image when you export the page. Therefore, you will instead create a text slice that will export as text.

1.

In your about.png file, choose File > Import and open the about.txt file in the Media folder within the Lesson10 folder. Click to place the text on the canvas.

The text will not remain on this page.

Note

In Windows, select ASCII Text (.txt) or All files (*.*) from the Files of Type pop-up menu to see the file.

2.

Select the Text tool and place the insertion point after the Sweet Creations text in the last paragraph.

You want to add a Register trademark symbol after the name of the company. On the Macintosh, you can simply type Option-R, but on Windows, you would need to know the ASCII code for this symbol.

3.

Choose Window > Special Characters. Click the Register symbol in the Special Characters window to insert the symbol in your text.

4.

Using the Text tool, select all of the text and copy it. Then delete the text block on the canvas.

You are importing the text just to copy it. You could have also opened the text file in a text editor, such as NotePad or SimpleText, and then copied the text.

5.

Draw a slice on the canvas for the text, between the About Us text and the image of the founder. Also draw slices over the About Us text and the founder image.

Don't overlap any of the slices. Use the red slice guides to help place the slices. Make the slice for the About Us text extend to the bottom of the canvas.

6.

Add names for your slices over the founder and the About Us text.

You don't need to name the slice for the text; it won't be exported as a graphic.

7.

Select the slice for the text and then select HTML from the Type pop-up menu in the Property inspector. Click the Edit button in the Property inspector.

The HTML slice is a darker green color than the other slices. You can change the color of the slice by choosing a new color from the Color pop-up window on the Property inspector when the slice is selected.

8.

Press Ctrl+V (Windows) or Command+V (Macintosh) to paste the text within the Edit HTML Slice window.

The Edit menu is not available in Windows when you are in the Edit HTML Slice window.

The text that appears in this window will be converted to HTML text when you export your page. This text consists of two paragraphs. If you leave it as is, the two paragraphs will be combined into one when you export your page. HTML requires tags surrounding all paragraphs or surrounding any words that you want to format. For example, if you want a word to appear in bold in the browser, you must place an opening bold tag (<b>) before the word and an ending bold tag (</b>) after the word.

You can enter the tags here in Fireworks, or you can make those changes in Dreamweaver. Even if you are not familiar with HTML, you can easily add the paragraph tags.

Note

In Windows, you may see two small rectangles embedded in the text where the second paragraph begins. You can delete those rectangles and insert paragraph returns in their place.

9.

Type <p> before each paragraph and </p> at the end of each paragraph, and then click OK.

If you want to add other HTML formatting tags, you can add them now as well.

10.

Save and close your file.

You will export this page in the next lesson.

     < Day Day Up > 


    Macromedia Fireworks 8(c) Training from the Source
    Macromedia Fireworks 8: Training from the Source
    ISBN: 0321335910
    EAN: 2147483647
    Year: 2005
    Pages: 239
    Authors: Patti Schulze

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net