(Optional) Center the contents of the page
Lastly, youll use the tag selector to select all of the HTML in the document, and center the documents contents.
Some browsers (such as Internet Explorer 6), center the pages text within the context of the table cells when you use the method described in this section. If you dont like how this looks when you preview the page in the browser, you might want to skip this section, and leave the contents of your page aligned left.
- With the index.html page open in the Document window, click the
<body> tag in the tag selector.
<body> tag selects everything between the open and close
<body> tags in the Document window. To see the selection, click Code view at the top of the Document window.
- In the Property inspector (Window > Properties), click the Align Center button.
Dreamweaver inserts CSS <div> tags that center the body content of the page. In Design view, a dotted line borders the area that the <div> tags center.
- Save the page.
Your page is now finished. The last task of building your website is to publish the page. To publish the page, you must define a folder on a remote site and upload your files to that folder. For instructions, continue to the next tutorial.