10.07.2017 Views

246996016-HTML5-Step-by-Step

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

340 Chapter 17<br />

10. View the default.css file in the Code pane to see what Expression Web added to the<br />

style definition for the division.<br />

#masthead {<br />

background-image: url(‘../../Microsoft Press/<strong>HTML5</strong> SBS/17Expression/<br />

images/leaf-green.jpg’);<br />

padding-top: 16px;<br />

padding-left: 16px;<br />

}<br />

11. Press Ctrl+S to save index.html.<br />

A Save Embedded Files dialog box opens, prompting you to also save the associated<br />

style sheet.<br />

12. Click OK to save both files.<br />

CLEAN UP Leave the page and the Web site open in Expression Web for the next<br />

exercise.<br />

Inserting Hyperlinks<br />

Expression Web provides an easier way of inserting hyperlinks than typing them manually.<br />

You can either use the Insert | Hyperlink command or press Ctrl+K to open the Insert<br />

Hyperlink dialog box, and then type the specifications for the hyperlink you want. Alternatively,<br />

you can right-click a button or a block of selected text and choose Hyperlink,<br />

which opens the same dialog box.<br />

In the dialog box, you can choose from any of these hyperlink types:<br />

●<br />

Existing File or Web Page This is the standard type of hyperlink that inserts a<br />

reference to another page or file. You would use this for the navigation buttons on<br />

a site, for example.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!