Home > Articles > Home & Office Computing > Home Networking

This chapter is from the book

Customizing the Template

The family/personal website template shown in Figure 3.1 provides bare-bone web pages that you can easily add to and customize to create your own unique family/personal website. If you like the look and feel of the template, all that’s left to do is to customize the template’s content, replacing the current text with the text pertinent to you and your family, and the image in the upper-left corner with an image of your own choosing.

"When working with the template, you may find that you want to customize certain aspects. ... Fortunately, Composer makes customizing the template quick, fun, and easy."

When working with the template, you may find that you want to customize certain aspects. For example, you might want to change the template’s font, or alter the text or background colors. You might want to add additional web pages to the template, such as a web page that lists important dates (anniversaries, birthdays, and so on). You might want to remove pages from the template; perhaps you don’t want a favorite recipes page.

Fortunately, Composer makes customizing the template in any of these ways quick, fun, and easy. In this section we’ll be examining a myriad of ways to customize your template. When working with the template files, keep the following two things in mind:

  • Composer is like any other word processor. If you want to customize the page by centering some text, for example, simply select the text to center and click on the Center icon in the Toolbar, just like you would to center text with Microsoft Word.

  • Have fun customizing the templates, and don’t be afraid to experiment! Keep in mind that since you’re working with the template files on your computer’s hard drive, no matter what you do, you can’t irreparably screw up the template. There will always be a pristine copy of the website’s template files on the book’s CD that you can recopy to your computer should the need arise.

With that, it’s time to get started examining how to use Composer to customize the family/personal website template!

Changing the Upper-Left Image

Each page in the family/personal website contains an image in the upper-left corner of my dog, Sam. You are invited to add your own image here, such as a picture of yourself, your family, or your family’s pet. To replace the picture of Sam with a picture of your own, you’ll need to have the picture on your computer’s hard drive. In the "Customizing the Family Pictures Page" section you’ll learn how to get pictures of yourself or family onto your computer, so that you can add them to your website’s pages.

To customize the upper-left image, first copy the image you want to replace it with into the same folder that you copied the website template files to. Next, launch Composer if you have not already done so. (Recall that this involves starting the Mozilla Browser, and then going to the Window menu and choosing the Composer option.) Next, open the template’s homepage file, index.html, in Composer. This is accomplished by either clicking the Open icon in the Toolbar or by going to the File menu and selecting the Open File menu option.

Once you have opened the index.html page in composer, your screen should look similar to Figure 3.2.

To change the image of Sam to an image of your own, you’ll need to open the Image Properties dialog box for the image. This can be done in one of a number of ways: by right-clicking on the image and selecting the Image Properties menu option; by double-clicking the image; or by single-clicking the image and then clicking on the Image icon in the Toolbar. Using any of these approaches will display the Image Properties dialog box (see Figure 3.3), from which you can customize the information about the displayed image.

The next section, "Specifying Image Properties," steps through the four tabs in the Image Properties dialog box and discusses how to replace the image of Sam with an image of your own. Keep in mind that you’ll need to replace the image of Sam with your own image for each web page in the family/personal website template.

Specifying Image Properties

The Image Properties dialog box contains four tabs: Location, Dimensions, Appearance, and Link. These tabs contain settings to customize the selected image’s properties. Let’s look at each of these tabs one at a time.

Figure 3.2

Figure 3.2 The index.html file has been opened with Composer.

Figure 3.3

Figure 3.3 Customize the image from the Image Properties dialog box.

The Location Tab

The Location tab, shown in Figure 3.3, allows you to specify the file to display. To change the upper-left image from one of my dog to one of your own, click on the Choose File button and select the image you want to display. Upon doing so, a small preview of the image selected will appear in the lower left corner of the Image Properties dialog box.

Next, from the Location tab, you can set the Alternate text for the image. This is the text that is displayed in the image’s place for those visitors who are using text-only browsers or who have configured their browsers to not display images. Realistically, very few web surfers fall into this category, so feel free to simply not provide any alternate text. If you decide not to provide alternate text, be sure to select the Don’t use alternate text radio button.

The Dimensions Tab

The next tab, Dimensions, allows you to customize the width and height of the image. As Figure 3.4 shows, the Dimensions tab has two radio buttons: Actual Size and Custom Size. If you leave Actual Size selected, the image will be displayed in its actual size. If you click Custom Size, you can specify the image size in either pixels or as a percentage of the browser’s window.

Figure 3.4

Figure 3.4 The image’s size can be configured in the Dimensions tab.

The picture of Sam is scaled to a width of 170 pixels and a height of 166 pixels. As shown in the Image Preview section at the bottom of the dialog box in Figure 3.4, the actual image size is 321 pixels by 313 pixels.

Oftentimes an image will be resized so that it fits nicely on a page. The full-sized image of Sam is too large to fit nicely in the web page, hence it is scaled down to 170 by 166. When scaling images yourself, make sure to check the Constrain check box. This check box, if checked, makes sure that the ratio between the resized width and height remains the same as the original image’s width and height ratio. By leaving this check box checked you ensure that resizing your image won’t result in an image that is squished too fat or too thin.

When adding your own image, scale it so that it is at least 166 high. The family/personal website was designed to display an image precisely 166 pixels high. If you make the image shorter than 166 pixels, there will be whitespace beneath the image. When adding your own image, I would recommend that you

  1. Select the Custom Size radio button.

  2. Check the Constrain check box.

  3. Enter 166 as the height.

The Appearances Tab

The Appearances tab (shown in Figure 3.5) allows you to configure how the image will appear within text. The Spacing section lets you specify how much spacing should appear between the left and right and top and bottom of the image and the text around the image. The Solid Border text box permits you to specify whether the image should have a border and, if so, how many pixels wide it should be.

Additionally, you can choose how to have the text aligned with the image. You can have the following text appear at the bottom of the image, the center, or the top. Alternatively, you can have the image flow within the text on the left or right.

For the family/personal website, I’d recommend not changing the values in the Appearances tab, as the template was designed to have no spacing around the image.

Figure 3.5

Figure 3.5 The Appearances tab specifies how the text and image coexist.

The Link Tab

The final tab, the Link tab, allows you to specify a hyperlink for the image. That is, you can indicate that when the image is clicked, the user be whisked to a particular URL. A screenshot of the Link tab is shown in Figure 3.6.

Figure 3.6

Figure 3.6 Use the Link tab to link the image to a URL.

Table 3.1: A Summary of the Image Properties Dialog Box’s Tabs

Tab

Description

Location

Choose the image to display from the Location tab. You can provide a Tooltip, which will be displayed when a visitor hovers her mouse over the image. Also, the Location tab allows you to specify an Alternate text, which is displayed in place of the image for those visitors whose browsers don’t support images.

Dimensions

From the Dimensions tab you can indicate a custom height and width for the image.

Appearance

The Appearance tab allows you to indicate the top, bottom, left, and right spacing around the image (if any), along with how text flows around the image.

Link

You can configure your image so that when a visitor clicks it he is whisked to a different web page. If you want to enable this behavior, specify the URL to send the user in the Link tab.


Removing the Image Altogether

While some readers will like having a picture shown on each page, others might not want a picture shown at all. Fortunately, Composer makes it a cinch to remove the image from the upper-left corner. To strike the image from the web page altogether, simply right-click on the image and choose the Delete menu option.

Changing the Font

The text in the web page templates is displayed using a Verdana font. You can easily change the font for any text in Composer with the following steps:

  1. Select the text whose font you want to change. The easiest way to do this is to place the mouse at the beginning of the text you want to select, and, holding down the mouse button, drag the mouse cursor until the text you want to modify is completely selected.

  2. With the text selected, go to the Format menu. Choose the Font menu option and then pick a font from the list.

You can also change other text properties—such as the text color and style—through the Format menu. For example, imagine that you wanted to change the foreground color of the header text for a web page. (The header text in the homepage is "Welcome to the Mitchell Family Website!" and is displayed in a turquoise color.) To change this text’s foreground color to, say, red, you’d first select the text and then go to the Format menu and choose the Text Color menu option. This will display the Text Color dialog box (see Figure 3.7), from which you can select a new foreground color.

Figure 3.7

Figure 3.7 Pick the text’s foreground color from the Text Color dialog box.

To make the font bold, italic, or underlined, first select the text and then go to the Format menu’s Text Style menu. From there you can see the various formatting options.

Adding and Removing Pages from the Template

The family/personal website template comes with four web pages: a homepage, a family pictures page, a recent events page, and a favorite recipes page. As we discussed earlier, though, you might very well want to add additional pages, or remove some of the pre-packaged pages.

Removing a page from the site simply entails removing the links from the other web pages to the page you wish to snip from the site. For example, imagine that you didn’t want to have a favorite recipes page on your family/personal website. To accomplish this, you’d need to open the homepage, family pictures page, and recent event page in Composer, and remove the link at the top to the Recent Events page. Removing the link is as simple as selecting the link text and hitting Delete.

To add a new page to the template, you need to create a new web page whose look and feel mimics that of the other pages in the template. Creating a new web page using the template can be done in one of two ways:

  • By creating a new web page in Composer, and then copying and pasting the entire contents of a template page to the new page, or

  • By going to the File menu and choosing the Save As menu option, which has the effect of saving an existing template web page with a different file name.

Once you have created the new web page and inherited the template’s look and feel, you can customize the page’s content as needed. For example, if you added an additional page that listed important dates for your family, the content for this page would include the dates and their meanings (anniversaries, birthdays, graduations, and so on). After you have created the content for the new page, save the web page by going to the File menu and choosing the Save menu option.

Once you have created and saved the new page, the next step is to add a link from all other web pages in the site to the new page. As Figure 3.1 showed, each page has a list of links along the top. You’ll need to add a link up top to the new page you created.

To add a link, start by clicking your mouse where you want the link to appear, perhaps between the Family Pictures and Recent Events links. Next, type in the text for the link, such as "Important Dates", followed by a period, which is used as a separator between each link.

The final step is to link the text you just entered to the new web page you created. To accomplish this, select the text you just added, go to the Insert menu, and choose the Link menu option. This will display the Link Properties dialog box, shown in Figure 3.8.

Figure 3.8

Figure 3.8 Select the page to link to using the Choose File button.

From the Link Properties dialog box, choose the file you want the user whisked to when they click the link. Since this link needs to take the user to the newly created page, click the Choose File button and select the page you added just a moment ago. Finally, click the OK button to create a hyperlink to the newly created page.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020