...

View Full Version : Only 3 Errors left...



ClintBeavers
09-20-2006, 12:22 AM
And one thing bugging me. I've validated my CSS and it came up good. Now I'm validating my page code. However, I keep getting 3 errors. But I've tried to fix them and can't seem to. Any help would be greatly appreciated.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>The DISAMBIGUATION of Edward</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="...styles.css" type="text/css">
</head>
<body>
<center><div id="container">
<div id="inner">
<div id="header"><p align="center"><img src="...BLABLABLA.PNG" alt="The DISAMBIGUATION of Edward"></p>
</div></div>
<div id="content">
<br><br><p class="topmargin" align="left"><img src="BLABLABLA.JPG" alt="AMBIGUOUS" width="176" height="243" border="1" style="FLOAT:left; MARGIN:1px" /><span class="style3"><strong>am-big-u-ous</strong> [ am- <strong>big </strong>-yoo- <em>uh </em>s ]<br>
<em>adj.</em>1. open to or having several possible meanings or interpretations; equivocal<br>
2. lacking clearness or definiteness; obscure; indistinct</span></p><br>
<p align="left"><span class="style3">This is the Disambiguation of Edward. This site is designed to showcase my trip reports (kind of like a trip diary), photography, and other works. The Ironic thing is, although I am making parts of my life more clear [dis am <span class="style3"><strong>&middot;big</strong> u<strong>&middot;</strong></span>ate], I am also telling you very little about me personally.</span></p><br>
<p align="left"><span class="style3">However, I enjoy many things, as is evident on this site. One of them is travel. I also enjoy being creative, which is the reason I have a webpage to begin with. I have had this space for almost a decade now. I also enjoy sharing my creativity. What other reason is there to be creative if you are not willing to share?</span></p><br>
<p align="left"><img src="http://...BLABLABLA.JPG" alt="DISAMBIGUOUS" width="176" height="243" border="1" style="FLOAT:right; MARGIN:1px" /><span class="style3"><strong>dis am&middot;big u&middot;a tion </strong>[ dis-am-<strong>big </strong>-yoo-ay sh uh n ]<br>
<em>n.</em>1. clarification that follows from the removal of ambiguity</span></p><br>
<p class="bottommargin" align="left"><span class="style3">I will keep this all updated. I like to write, so any time I go on a trip, I add a new trip report. I also enjoy editorializing and commenting on pop culture, the amusement industry, and more. There will be much stuff to be added, and I will add more and more as time goes by.</span></p><br><p align="center"><span class="style2">All content &copy; C. Edward Beavers 1997-2006.</span></center><div>
</body>
</html>

http://validator.w3.org/ is giving me 3 errors that I can't figure out.

Also, at the very bottom, I can't seem to get the copyright info at the bottom below the container. How can I get that outside and just below the container?

_Aerospace_Eng_
09-20-2006, 12:32 AM
The errors are coming from you not closing your elements correctly. Don't use the center tag either. Its deprecated. To center a div you use margin:auto; default alignment of text is left so need to redeclare it now that you won't have the center tag anymore. To center text use text-align:center; in CSS on that element

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>The DISAMBIGUATION of Edward</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="...styles.css" type="text/css">
<style type="text/css">
#container {
margin:auto;
}
</style>
</head>
<body>
<div id="container">
<div id="inner">
<div id="header">
<p style="text-align:center"><img src="...BLABLABLA.PNG" alt="The DISAMBIGUATION of Edward"></p>
</div>
</div>
<div id="content"> <br>
<br>
<p class="topmargin"><img src="BLABLABLA.JPG" alt="AMBIGUOUS" width="176" height="243" border="1" style="float:left;margin:1px"><span class="style3"><strong>am-big-u-ous</strong> [ am- <strong>big </strong>-yoo- <em>uh </em>s ]<br>
<em>adj.</em>1. open to or having several possible meanings or interpretations; equivocal<br>
2. lacking clearness or definiteness; obscure; indistinct</span></p>
<br>
<p><span class="style3">This is the Disambiguation of Edward. This site is designed to showcase my trip reports (kind of like a trip diary), photography, and other works. The Ironic thing is, although I am making parts of my life more clear [dis am <span class="style3"><strong>&middot;big</strong> u<strong>&middot;</strong></span>ate], I am also telling you very little about me personally.</span></p>
<br>
<p><span class="style3">However, I enjoy many things, as is evident on this site. One of them is travel. I also enjoy being creative, which is the reason I have a webpage to begin with. I have had this space for almost a decade now. I also enjoy sharing my creativity. What other reason is there to be creative if you are not willing to share?</span></p>
<br>
<p><img src="http://...BLABLABLA.JPG" alt="DISAMBIGUOUS" width="176" height="243" border="1" style="float:left;margin:1px" ><span class="style3"><strong>dis am&middot;big u&middot;a tion </strong>[ dis-am-<strong>big </strong>-yoo-ay sh uh n ]<br>
<em>n.</em>1. clarification that follows from the removal of ambiguity</span></p>
<br>
<p class="bottommargin"><span class="style3">I will keep this all updated. I like to write, so any time I go on a trip, I add a new trip report. I also enjoy editorializing and commenting on pop culture, the amusement industry, and more. There will be much stuff to be added, and I will add more and more as time goes by.</span></p>
<br>
<p style="text-align:center;"><span class="style2">All content &copy; C. Edward Beavers 1997-2006.</span></p>
</div>
</div>
</body>
</html>

ClintBeavers
09-20-2006, 01:09 AM
Ah! Thanks. I actually had the div on auto margin in my code, I didn't realize it was on the page as well. Thanks so much!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum