alt
Advertisement
Sponsored links
Online Training
Career Series
Exforsys
Exforsys arrow Tutorials arrow ASP.NET 2.0 arrow ASP.NET 2.0 : Working With Master Pages
Site Search


ASP.NET 2.0 : Working With Master Pages
Article Index
ASP.NET 2.0 : Working With Master Pages
Page 2
Page 3

.

.

.

To create a layout table for the master page

1. Switch to Design view.

2. In the Properties window, in the drop-down list at the top, click DOCUMENT, and then set BgColor to a distinctive color, such as blue.

3. It is not important what color you select. Later in this walkthrough you will create a second master page without a color to contrast with what you have selected here.

4. Click in the page where you want to place the layout table.

5. On the Layout menu, click Insert Table.

6. In the Insert Table dialog box, click Template, in the list, click Header, footer and side, and then click OK.

7. The template defines the arrangement of rows and cells in the table.

8. Make the following settings:
..................1. Click the left-most column, and then set its width to 48.
..................2. Click the top row, and then set its height to 48.
..................3. Click the bottom row, and then set its height to 48.

9. The width and height can be set by dragging the table cell borders or by selecting the cell and setting values in the Property window

10. Select each cell, and then set BgColor to a color that will be obvious to you and set VAlign to top.

Once the table layout is complete content can be added to the master page. This is the content that is to appear on all the pages of the website. A copyright message can be added at the footer and a menu. Logos can be added to Header if required.



 
< Prev   Next >
Exforsys Offers
© 2008 Exforsys.com
Joomla! is Free Software released under the GNU/GPL License.
Page copy protected against web site content infringement by Copyscape