Oh my am I having some difficulty. I have been looking online and through this forum for a while today. I am trying to make a website using a table. This is my first website and I do not want to use a template and this way looked to be the easiest at the moment until school starts and I learn all the ins and outs of html and css.
I am trying to center the table horizontally and have it minimize by percentage to make every proportionate. Scratching my head, every time I try to center the table, it is not centering or I change the information inside of the table rather than the complete table. I am not quite sure what I am doing wrong. Also on another post, I seen that I should be using % instead of px, how do I go about doing this? How do I know what percentages to use?
Thanks,
Nicole
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Fast Forward Home</title>
</head>
<body style="color: white; background-color: black; width: 960px;"
alink="yellow" link="white" vlink="#33ff33">
<table align="center">
</table>
<margin-left></margin-left>
<table
style="width: 965px; height: 425px; text-align: left; margin-left: auto; margin-right: auto;"
border="0" cellpadding="7" cellspacing="5">
<tbody>
<tr>
<td style="text-align: center; width: 256px;"
colspan="4" rowspan="1"><img
style="width: 948px; height: 200px;" alt=""
src="http://aae1.webs.com/FastForward/FastForwardBanner.jpg"></td>
</tr>
<tr>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="border-style: solid; border-width: 1pt; background: rgb(204, 0, 0) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; width: 256px;"
align="center">Textbooks
for Less</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 200px; background-color: rgb(204, 0, 0);"
align="center">
Paying
for College</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="border-style: solid; border-width: 1pt; background: rgb(204, 0, 0) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; width: 214px;"
align="center">Planning
for College<br>
Start Early</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 264px; background-color: rgb(204, 0, 0);"
align="center">
Internships
and Getting Experience</td>
</tr>
<tr>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 256px; background-color: rgb(204, 0, 0);"
align="center">
Moving
to College</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 200px; background-color: rgb(204, 0, 0);"
align="center">
Scholarships</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 214px; background-color: rgb(204, 0, 0);"
align="center">
College
Prep</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 264px; background-color: rgb(204, 0, 0);"
align="center">
Jobs
and Careers</td>
</tr>
<tr>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 256px; background-color: rgb(204, 0, 0);"
align="center">
Smart
Spending</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 200px; background-color: rgb(204, 0, 0);"
align="center">
Saving
for College</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 214px; background-color: rgb(204, 0, 0);"
align="center">
Going
to College</td>
<td onmouseover="this.style.backgroundColor='#F7BF07';"
onmouseout="this.style.backgroundColor='#CC0000';"
style="width: 264px; background-color: rgb(204, 0, 0);"
align="center">
Cover
Letters and Resumes</td>
</tr>
<tr>
<td style="width: 256px;" colspan="4" rowspan="1"></td>
</tr>
<tr>
<td style="width: 256px;" align="undefined"
valign="undefined"></td>
<td style="width: 200px;" align="undefined"
valign="undefined"></td>
<td style="width: 214px;" align="undefined"
valign="undefined"></td>
<td style="width: 264px;" align="undefined"
valign="undefined"></td>
</tr>
</tbody>
</table>
<br>
</body>
</html>