Library tutorials & articles
Creating a Template
- Getting Started
- Creating the template
- Using the template
Getting Started
The first step is to design your template on paper. When designing the template, you need to lay out where important areas of the interface will be and what they'll look like. These areas include the page title, navigation and content areas. You may require more areas, depending on the needs of your site.
After the template is designed, write a prototype HTML page for the template. Insert placeholder text in the places where the text may change from page to page. Below is a simple layout and the corresponding code:
| ||||
<html>
<head>
<title>Page Title</title>
</head>
<body>
<table cellpadding="6" cellspacing="0" border="0">
<tr>
<td colspan="2" bgcolor="#aaaaff">
<big><b>Page Title</b></big>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#aaaaff" nowrap>
Nav 1<br>
Nav 2<br>
Nav 3
</td>
<td valign="top" bgcolor="white">
Content goes here.
</td>
</tr>
</table>
</body>
</html>
Related articles
Related discussion
-
Read eMails from Outlook express using ASP
by kumaravelu (1 replies)
-
Help to Call ASP function from onclick event in HTML to pass an array
by vka (0 replies)
-
Binary Studio | software development outsourcing Ukraine
by shane124 (4 replies)
-
Variable In Vb.Net
by chia (0 replies)
-
ideas in building a captive portal
by sjranjan (2 replies)
Related podcasts
-
Scott Guthrie
Scott catches up with Scott Guthrie in an interview covering Ajax, Asp 2.0, extender controls, CSS adapters and more.
I thought this tutorial was very helpful. I was able to development many new ideas with this simple way of creating templates.
Thanks,
Lewis
This thread is for discussions of Creating a Template.