Hi, so I have an index.php file which looks like this.
As you can see, it is linked to several includes. My problem is I can't get my CSS,
To alter this at all. Nothing looks like I want it to. Not even the links. I thought I knew CSS pretty well, I don't really know PHP at all, I just learned how to use includes. But I'm having a lot of difficulty with the CSS. Can anyone see anything wrong, or maybe explain what I may be doing wrong here? Thanks.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel=
"stylesheet" type="text/css" href="css.css" />
</head>
<body>
<center>
<table class="main" width="800px" border="0">
<table width="800px" border="0">
<tr>
<td><?php include("includes/header.php"); ?></td>
</tr>
</table>
<table width="800px" border=0>
<tr>
<td width="400px"></td>
<td class="menu" width="400px"><?php include("includes/menu.php"); ?></td>
</tr>
</table>
<table width=800px border=0>
<tr>
<td width="200px"><h1>Left</h1></td>
<td width="400px"><h1>Middle</h1></td>
<td width="200px"><h1>Right</h1></td>
</tr>
<tr>
<td class="side" width="200px"><?php include("includes/left.php"); ?></td>
<td class="middle" width="400px"><?php include("includes/mid.php"); ?>
</td>
<td class="side" width="200px"><?php include("includes/right.php"); ?></td>
</tr>
</table>
<table width=800px border=0>
<tr>
<td width="800px"><?php include("includes/foot.php"); ?>
</tr>
</table>
</table>
</center>
</body>
</html>
As you can see, it is linked to several includes. My problem is I can't get my CSS,
Code:
h1 {
font:Arial 12px #cccccc;
}
body{
background: #efd68c;
font-family: Arial;
}
.middle
{
background: #efd68c;
padding: 10px;
font-family: Arial;
}
a:link, a:visited
{
text-decoration: none;
border: 1px bottom dashed grey;
}
a:hover
{
text-decoration: none;
text-color: #0d4603;
border: 1px bottom dashed grey;
}
.side
{
background: #efcb5f;
padding: 10px;
}
.menu
{
}
To alter this at all. Nothing looks like I want it to. Not even the links. I thought I knew CSS pretty well, I don't really know PHP at all, I just learned how to use includes. But I'm having a lot of difficulty with the CSS. Can anyone see anything wrong, or maybe explain what I may be doing wrong here? Thanks.