header.php
<html><!-- contains the CSS definitions that the page uses, and everything else in the header of every page -->
<head>
<title>TLA Consulting Pty Ltd</title>
<style type="text/css"><!-- CSS definitions follow, whenever the things you named here are used elsewhere they have this 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-faimly: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" alt="TLA logo" height="70" width="70"></td>
<td>
<h1>TLA Consulting</h1>
</td>
<td align="right"><img src="logo.gif" alt="TLA logo" height="70" width="70"></td>
</tr>
</table>
<!-- Menu -->
<table width="100%" bgcolor="white" cellpadding="4" cellspacing="4">
<tr>
<td width="25%">
<img src="s-logo.gif" alt="" height="20" width="20" />
<span class="menu">Home</span></td>
<td width="25%">
<img src="s-logo.gif" alt="" height="20" width="20" />
<span class="menu">Contact</span></td>
<td width="25%">
<img src="s-logo.gif" alt="" height="20" width="20" />
<span class="menu">Services</span></td>
<td width="25%">
<img src="s-logo.gif" alt="" height="20" width="20" />
<span class="menu">Site Map</span></td>
</tr>
</table><!-- Don't close body and html yet because they will be closed in footer and everything in home is in php tags and we want same CSS -->
This line:
<td> <h1>TLA Consulting</h1> </td>
Is printing with black text and thus is invisible because the cell it is has black text because of the CSS definition.
Looked the definition over multiple times, but I can't find anything wrong with it. Am I blind or is something else messing this up?
Thanks!
This post has been edited by eZACKe: 10 January 2011 - 04:40 PM

New Topic/Question
Reply



MultiQuote






|