Hey guys, I need a bit of help on a bit of CSS. I've scanned the web, but can't find a thing. I know my CSS skills are very poor, as I just learned it a week ago, but it seems pretty sweet and I want to use it to design my site. The CSS stuff is embedded in the HTML, so I'll just post it here:
<html>
<head>
<title>Welcome To My Site!</title>
<style>
.bodytext
{
font: 16px "Lucida Grande";
color: white;
}
.copyright
{
font: 10px "Lucida Grande";
color: white;
}
.date
{
font: 12px "Lucida Grande";
color: white;
}
</style>
</head>
<body>
<table width="80%" align=center style="background-color: orange;">
<tr>
<td>
<div style="padding-right: 5; float: left;">
<a href=><img src="home.png"></a>
</div>
<div style="padding-right: 5; float: left;">
<a href=><img src="forum.png"></a>
</div>
<div style="padding-right: 5; float: left;">
<a href=><img src="me.png"></a>
</div>
<div style="padding-right: 5; float: left;">
<a href=><img src="links.png"></a>
</div>
</td>
</tr>
<tr>
<td align=center>
<BR>
<hr>
<p class=date align=left>12/15/04
<p class=bodytext>
Hey, hope you like the new design. Switching from a mainly-forum thing to a mainly-whatever page. I don't really want this to be thought of as the "forum" page as much as my page with just a link to the forum on it, ya know?
</p>
<hr>
</td>
</tr>
<tr>
<td class="copyright" align=center>
<BR><BR><BR><BR><BR>
<p>
Copyright 2004, Craig Otis
<BR>
Hand-Coded on a Mac
<BR>
And I'm damn proud of it.
</p>
</td>
</tr>
</table>
</body>
</html>
What I have are the four images at the top, acting as links to other pages. I have them spaced next to each other perfectly, but they're all aligned to the left... I've tried adding align=center tags all over the place, but they aren't doing me any good. I apologize for not being able upload the page with images, but I currently don't have any webspace to do so... I added a screenshot so you at least see what the problem is.
<html>
<head>
<title>Welcome To My Site!</title>
<style>
.bodytext
{
font: 16px "Lucida Grande";
color: white;
}
.copyright
{
font: 10px "Lucida Grande";
color: white;
}
.date
{
font: 12px "Lucida Grande";
color: white;
}
</style>
</head>
<body>
<table width="80%" align=center style="background-color: orange;">
<tr>
<td>
<div style="padding-right: 5; float: left;">
<a href=><img src="home.png"></a>
</div>
<div style="padding-right: 5; float: left;">
<a href=><img src="forum.png"></a>
</div>
<div style="padding-right: 5; float: left;">
<a href=><img src="me.png"></a>
</div>
<div style="padding-right: 5; float: left;">
<a href=><img src="links.png"></a>
</div>
</td>
</tr>
<tr>
<td align=center>
<BR>
<hr>
<p class=date align=left>12/15/04
<p class=bodytext>
Hey, hope you like the new design. Switching from a mainly-forum thing to a mainly-whatever page. I don't really want this to be thought of as the "forum" page as much as my page with just a link to the forum on it, ya know?
</p>
<hr>
</td>
</tr>
<tr>
<td class="copyright" align=center>
<BR><BR><BR><BR><BR>
<p>
Copyright 2004, Craig Otis
<BR>
Hand-Coded on a Mac
<BR>
And I'm damn proud of it.
</p>
</td>
</tr>
</table>
</body>
</html>
What I have are the four images at the top, acting as links to other pages. I have them spaced next to each other perfectly, but they're all aligned to the left... I've tried adding align=center tags all over the place, but they aren't doing me any good. I apologize for not being able upload the page with images, but I currently don't have any webspace to do so... I added a screenshot so you at least see what the problem is.