Specifications

LISTING 5.3 header.incThe Reusable Header for All TLA Web Pages
<html>
<head>
<title>TLA Consulting Pty Ltd</title>
<style>
h1 {color:white; font-size:24pt; text-align:center;
font-family:arial,sans-serif}
.menu {color:white; font-size:12pt; text-align:center;
font-family:arial,sans-serif; font-weight:bold}
td {background:black}
p {color:black; font-size:12pt; text-align:justify;
font-family:arial,sans-serif}
p.foot {color:white; font-size:9pt; text-align:center;
font-family:arial,sans-serif; font-weight:bold}
a:link,a:visited,a:active {color:white}
</style>
</head>
<body>
<!-- page header -->
<table width=”100%” cellpadding = 12 cellspacing =0 border = 0>
<tr bgcolor = black>
<td align = left><img src = “logo.gif”></td>
<td>
<h1>TLA Consulting</h1>
</td>
<td align = right><img src = “logo.gif”></td>
</tr>
</table>
<!-- menu -->
<table width = “100%” bgcolor = white cellpadding = 4 cellspacing = 4>
<tr >
<td width = “25%”>
<img src = “s-logo.gif”> <span class=menu>Home</span></td>
<td width = “25%”>
<img src = “s-logo.gif”> <span class=menu>Contact</span></td>
<td width = “25%”>
<img src = “s-logo.gif”> <span class=menu>Services</span></td>
<td width = “25%”>
<img src = “s-logo.gif”> <span class=menu>Site Map</span></td>
</tr>
</table>
Reusing Code and Writing Functions
C
HAPTER 5
5
REUSING CODE
AND
WRITING
FUNCTIONS
125
07 7842 CH05 3/6/01 3:35 PM Page 125