...

View Full Version : Does my header have issues?



CeeN
01-03-2004, 07:18 AM
Hey,

I'm very close to throwing my site up, but I want to make sure it's clean of potential problems. It's a forum site, and I just want to make sure my header doesn't have any obvious problems.

I think I've stared at it too long..I need some fresh eyes...

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<title><!--CS.TEMPLATE.TITLE--></title>
<!--CS.TEMPLATE.JAVASCRIPT-->
<!--CS.TEMPLATE.CSS-->
<STYLE TYPE="text/css">
P.percent { line-height: 170%; }
</STYLE>
<META NAME="DESCRIPTION" CONTENT="
A place of Heated Debate, Controversial Opinions, Provocative Images, and Growth">
<META NAME="KEYWORDS" CONTENT="volconvo, volconvo.com, hillary clinton lewinsky bill clinton politics, abortion debate facts, list of debate topics, list of debate topics, islam religion, natural law theory philosophy, creation vs. evolution debate, capital punishment debate, death penalty debate, philosophy statements of education, metaphysics and black holes, philosophy of metaphysics, metaphysics definition, volcano, political ideologies of the middle east, volcanos, volcanoes, volcano world, , inductive deductive reasoning examples">
<META NAME="ROBOTS" CONTENT="ALL">
<META NAME="Revisit-After" CONTENT="1 Days ">

</head>

beetle
01-03-2004, 02:04 PM
You've already chosen a Doctype, so at least validate your markup (http://validator.w3.org/) first. Come back after you've done that :D

CeeN
01-03-2004, 05:18 PM
wow, I did what you said, and now I'm so confused :( Here's what I got: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.volconvo.com%2Findex.php%3Fact%3Dhome&charset=%28detect+automatically%29&doctype=%28detect+automatically%29


I don't understand the whole validation concept :(

Skyzyx
01-03-2004, 06:06 PM
"Validation" means using correct code and coding practices. It's a way for you to know that you're doing it the right way, instead of the wrong way like so many people.

Now, all I've done is skim, but so far, I can tell you how to fix a very large majority of errors:


First, all (yes, that's all) tags and attribute names must be lowercase.
Secondly, all non-closing tags (meta, a, link, br, hr, etc) must be ended like this: <br />, <hr />, <meta ... />, etc.
All attribute values must be quoted, whether it's only one word or 50 words.


Fix those, and that should clear up about 75% of your errors. :thumbsup:

CeeN
01-03-2004, 06:54 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="no-cache">
<meta http-equiv="cache-control" content="no-cache" />
<title><!--CS.TEMPLATE.TITLE--></title>
<!--CS.TEMPLATE.JAVASCRIPT-->
<!--CS.TEMPLATE.CSS-->
<STYLE TYPE="text/css">
P.percent { line-height: 170%; }
</STYLE>
<meta name="DESCRIPTION" CONTENT="
A place of Heated Debate, Controversial Opinions, Provocative Images, and Growth" />
<meta name="KEYWORDS" CONTENT="volconvo, volconvo.com, hillary clinton lewinsky bill clinton politics, abortion debate facts, list of debate topics, list of debate topics, islam religion, natural law theory philosophy, creation vs. evolution debate, capital punishment debate, death penalty debate, philosophy statements of education, metaphysics and black holes, philosophy of metaphysics, metaphysics definition, volcano, political ideologies of the middle east, volcanos, volcanoes, volcano world, , inductive deductive reasoning examples" />
<meta name="ROBOTS" CONTENT="ALL" />
<meta name="Revisit-After" CONTENT="1 Days " />

</head>
<body topmargin="0" leftmargin="0" link="#FF0000" vlink="#FF0000" alink="#FF0000">
<div id='ipwrapper'>
<div align="left">
</div>
<!--CS.TEMPLATE.LINKS-->
<!--End Header-->
<!--Main Content-->
<table border="0" cellpadding="0" cellspacing="0" width="765">
<tr>
<td width="20" height="1" rowspan="2">&nbsp;
</td>
<td width="364" height="1" colspan="4"><a href="http://www.volconvo.com/index.php?act=home"><img border="0" src="http://www.volconvo.com/logo.gif" width="173" height="65" alt="is heated debate"></a><img border="0" src="http://www.volconvo.com/isheateddebate.gif" width="178" height="64">
</td>
<td width="386" height="1" colspan="2">
<p align="right"><font size="2"><br /><br /><br /><b>front</b> | <a href="http://www.volconvo.com/forums/index.php"> forums</a> | <a href="mailto:mail@volconvo.com"> contact</a> |
<a href="http://www.volconvo.com/index.php?act=Help"> help</a></font>
</td>
</tr>
<tr>
<td width="750" height="1" colspan="6">
</td>
</tr>
<tr>
<td width="20" valign="top" height="21"></td>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="20" rowspan="22" valign="top" height="608"></td>
<td width="752" colspan="6" valign="top">
<!--CS.TEMPLATE.WELCOMEBOX-->
</td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" height="30" colspan="3" valign="top">
<img border="0" src="http://www.volconvo.com/forums.gif" width="73" height="25">
</td>
<td width="10" rowspan="8" height="338">
</td>
<td width="386" height="30" valign="top" colspan="2">
<img border="0" src="http://www.volconvo.com/featuredtopic.gif" width="142" height="25">
</td>
</tr>
<tr>
<td width="163" height="62" valign="top">
<b><font face="arial" size="2"><a href="http://">
Politics &amp; Government</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="62">
</td>
<td width="177" height="62" valign="top">
<b><font face="arial" size="2"><a href="http://">
Philosophy &amp; Religion</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="386" bgcolor="#EEEEEE" rowspan="7" valign="top" colspan="2" height="308">
<p style="margin-left: 5; margin-right: 5"><!--MAIN-->

<!--CS.TEMPLATE.ARTICLES-->

<!--END MAIN-->
</p>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3">
</td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2">
<a href="http://">
Current Events &amp; Media</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61">
</td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2">
<a href="http://">
Society &amp; Rights</a><br /></font><font face="arial" size="1">12-15-2003 01:32
AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3" valign="top">
</td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
Science &amp; Technology</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61">
</td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
Scream &amp; Throw Stuff</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3" valign="top">
</td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
General Discussion</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61">
</td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
Announcements</a></font><font face="arial" size="3"><br />
</font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7"><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" height="29" colspan="3" valign="top">
<img border="0" src="http://www.volconvo.com/someforumtopics.gif" width="192" height="27">
</td>
<td width="10" height="29">
</td>
<td width="386" height="29" valign="top" colspan="2">
<img border="0" src="http://www.volconvo.com/previousfeatures.gif" width="174" height="27">
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><P class="percent"><font face="arial" size="2"><!--CS.TEMPLATE.LATESTPOSTS--></font></td>
<td width="10" valign="top"></td>
<td width="386" valign="top" colspan="2"><P class="percent"><P class="percent"><font face="arial" size="2"><!--CS.TEMPLATE.RECENTARTICLES--></font></td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><P class="percent">
<img border="0" src="http://www.volconvo.com/pagestats.gif" width="106" height="25">
</td>
<td width="10" valign="top"><P class="percent">
</td>
<td width="320" valign="top"><P class="percent">
<img border="0" src="http://www.volconvo.com/voteheading.gif" width="44" height="25">
</td>
<td width="64" valign="top"><P class="percent">
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><P class="percent">
<!--CS.TEMPLATE.ONLINEUSERS--></td>
<td width="10" valign="top">
</td>
<td width="320" valign="top"><P class="percent"><!--CS.TEMPLATE.POLL--></td>
<td width="64" valign="top">
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><img border="0" src="http://www.volconvo.com/supportedby.gif" width="137" height="25"></td>
<td width="10" valign="top">
</td>
<td width="320" valign="top"><img border="0" src="http://www.volconvo.com/promoteus.gif" width="116" height="25"></td>
<td width="64" valign="top">
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><a href="http://www.webstarhosting.ca" onmouseover="webstar.src='http://www.volconvo.com/webstar2.gif';" onmouseout="webstar.src='http://www.volconvo.com/webstar1.gif';" target="_blank"><img name="webstar" border="0" src="http://www.volconvo.com/webstar1.gif" width="180" height="48" alt="Want your page this fast?"></a><br /><a href="http://www.crownlink.com" target="_blank"><img border="0" src="http://www.volconvo.com/crownlink.gif" width="155" height="48" ></a></td>
<td width="10" valign="top">
</td>
<td width="320" valign="top"><p class="percent"><font size="2"><b>Your
campus could use a poster:</b> (pdf)
<a href="http://www.volconvo.com/adv1.pdf" target="_blank">1</a>, <a href="http://www.volconvo.com/advert.pdf" target="_blank">2</a>,
<a href="http://www.volconvo.com/adv5.pdf" target="_blank">3</a>, <a href="http://www.volconvo.com/adv3.pdf" target="_blank"> 4</a></font>&nbsp;<br /><br /><img border="0" src="http://www.volconvo.com/volconvocom.gif" width="86" height="30" alt="link to us">
<img border="0" src="http://www.volconvo.com/volconvocomb.gif" width="86" height="30" alt="link to us"></td>
<td width="64" valign="top">
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<p align="center"><font size="2"><b>front</b> | <a href="http://www.volconvo.com/forums/index.php"> forums</a> | <a href="mailto:mail@volconvo.com"> contact</a> |
<a href="http://www.volconvo.com/index.php?act=Help"> help</a> </font>
</p>
<p align="center"><font size="1">&nbsp; Powered by <a href="http://www.invisionboard.com" target="_blank" style="color: #000000; text-decoration: none">Invision
Power Board</a>(U) v1.2 (c) 2004 &nbsp;<a href="http://www.invisionpower.com" target="_blank" style="color: #000000; text-decoration: none">IPS,
Inc.</a></font><br /><br /><br /><br /></td>
</tr>
</table>
<!--End Main Content-->
</body>

</html>

I'm still getting tons of errors. Do my td, <a, etc tags need to be changed too? I'm afraid that I'll just make every tage that has a / before it into <a /> ;) I don't wanna just go in and blindly code.

I changed all the br's, and I think it's getting better.

Skyzyx
01-03-2004, 10:18 PM
Well, it's getting better. You still haven't changed all of your tags and attributes, and in many cases, attribute values to lowercase yet. XHTML is case-sensitive. You're still using <STYLE>, which doesn't exist in XHTML. You need to use <style>.

Also, in XHTML it's better to use double-quotes instead of single quotes around your attribute values.

Your image tags (<img>) are also non-closing tags, meaning that they have to end in /> as well.

The only other thing I see that sticks out like a sore thumb is all &'s need to be changed to &amp;amp;'s ... even inside URLs. The browser will translate them properly, but you need to make sure you use the character entity (&amp;amp;) instead of the character itself (&).

Oh yeah, in the body tag, bgcolor, link, alink, vlink, topmargin, leftmargin, marginwidth, and marginheight are all depreciated. You need to use CSS for this.


body {
margin:0;
padding:0;
}

a { color:#ff0000; }


Keep it up, it's getting better. Hope this helps!

CeeN
01-04-2004, 04:34 AM
wow thanks!

I edited some more according to your suggestions and here's the result:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="no-cache">
<meta http-equiv="cache-control" content="no-cache" />
<title><!--CS.TEMPLATE.TITLE--></title>
<!--CS.TEMPLATE.JAVASCRIPT-->
<!--CS.TEMPLATE.CSS-->
<style type="text/css">
P.percent { line-height: 170%; }
</style>
<meta name="DESCRIPTION" CONTENT="
A place of Heated Debate, Controversial Opinions, Provocative Images, and Growth" />
<meta name="KEYWORDS" CONTENT="volconvo, volconvo.com, hillary clinton lewinsky bill clinton politics, abortion debate facts, list of debate topics, list of debate topics, islam religion, natural law theory philosophy, creation vs. evolution debate, capital punishment debate, death penalty debate, philosophy statements of education, metaphysics and black holes, philosophy of metaphysics, metaphysics definition, volcano, political ideologies of the middle east, volcanos, volcanoes, volcano world, , inductive deductive reasoning examples" />
<meta name="ROBOTS" CONTENT="ALL" />
<meta name="Revisit-After" CONTENT="1 Days " />

</head>
<body topmargin="0" leftmargin="0" link="#FF0000" vlink="#FF0000" alink="#FF0000">
<div id='ipwrapper'>
<div align="left">
</div>
<!--CS.TEMPLATE.LINKS-->
<!--End Header-->
<!--Main Content-->
<table border="0" cellpadding="0" cellspacing="0" width="765">
<tr>
<td width="20" height="1" rowspan="2">&nbsp;
</td>
<td width="364" height="1" colspan="4"><a href="http://www.volconvo.com/index.php?act=home"><img border="0" src="http://www.volconvo.com/logo.gif" width="173" height="65" alt="is heated debate" /></a><img border="0" src="http://www.volconvo.com/isheateddebate.gif" width="178" height="64" />
</td>
<td width="386" height="1" colspan="2">
<p align="right"><font size="2"><br /><br /><br /><b>front</b> | <a href="http://www.volconvo.com/forums/index.php"> forums</a> | <a href="mailto:mail@volconvo.com"> contact</a> |
<a href="http://www.volconvo.com/index.php?act=Help"> help</a></font>
</td>
</tr>
<tr>
<td width="750" height="1" colspan="6">
</td>
</tr>
<tr>
<td width="20" valign="top" height="21"></td>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="20" rowspan="22" valign="top" height="608"></td>
<td width="752" colspan="6" valign="top">
<!--CS.TEMPLATE.WELCOMEBOX-->
</td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" height="30" colspan="3" valign="top">
<img border="0" src="http://www.volconvo.com/forums.gif" width="73" height="25" />
</td>
<td width="10" rowspan="8" height="338">
</td>
<td width="386" height="30" valign="top" colspan="2">
<img border="0" src="http://www.volconvo.com/featuredtopic.gif" width="142" height="25" />
</td>
</tr>
<tr>
<td width="163" height="62" valign="top">
<b><font face="arial" size="2"><a href="http://">
Politics &amp; Government</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="62">
</td>
<td width="177" height="62" valign="top">
<b><font face="arial" size="2"><a href="http://">
Philosophy &amp; Religion</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="386" bgcolor="#EEEEEE" rowspan="7" valign="top" colspan="2" height="308">
<p style="margin-left: 5; margin-right: 5"><!--MAIN-->

<!--CS.TEMPLATE.ARTICLES-->

<!--END MAIN-->
</p>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3">
</td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2">
<a href="http://">
Current Events &amp; Media</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61">
</td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2">
<a href="http://">
Society &amp; Rights</a><br /></font><font face="arial" size="1">12-15-2003 01:32
AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3" valign="top">
</td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
Science &amp; Technology</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61">
</td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
Scream &amp; Throw Stuff</a><br /></font><font face="arial" size="1">12-15-2003
01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3" valign="top">
</td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
General Discussion</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61">
</td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">
Announcements</a></font><font face="arial" size="3"><br />
</font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link--> <img border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's
chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" height="29" colspan="3" valign="top">
<img border="0" src="http://www.volconvo.com/someforumtopics.gif" width="192" height="27" />
</td>
<td width="10" height="29">
</td>
<td width="386" height="29" valign="top" colspan="2">
<img border="0" src="http://www.volconvo.com/previousfeatures.gif" width="174" height="27" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><P class="percent"><font face="arial" size="2"><!--CS.TEMPLATE.LATESTPOSTS--></font></td>
<td width="10" valign="top"></td>
<td width="386" valign="top" colspan="2"><P class="percent"><P class="percent"><font face="arial" size="2"><!--CS.TEMPLATE.RECENTARTICLES--></font></td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><P class="percent">
<img border="0" src="http://www.volconvo.com/pagestats.gif" width="106" height="25" />
</td>
<td width="10" valign="top"><P class="percent">
</td>
<td width="320" valign="top"><P class="percent">
<img border="0" src="http://www.volconvo.com/voteheading.gif" width="44" height="25" />
</td>
<td width="64" valign="top"><P class="percent">
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><P class="percent">
<!--CS.TEMPLATE.ONLINEUSERS--></td>
<td width="10" valign="top">
</td>
<td width="320" valign="top"><P class="percent"><!--CS.TEMPLATE.POLL--></td>
<td width="64" valign="top">
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><img border="0" src="http://www.volconvo.com/supportedby.gif" width="137" height="25" /></td>
<td width="10" valign="top">
</td>
<td width="320" valign="top"><img border="0" src="http://www.volconvo.com/promoteus.gif" width="116" height="25" /></td>
<td width="64" valign="top">
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><a href="http://www.webstarhosting.ca" onmouseover="webstar.src='http://www.volconvo.com/webstar2.gif';" onmouseout="webstar.src='http://www.volconvo.com/webstar1.gif';" target="_blank"><img name="webstar" border="0" src="http://www.volconvo.com/webstar1.gif" width="180" height="48" alt="Want your page this fast?" /></a><br /><a href="http://www.crownlink.com" target="_blank"><img border="0" src="http://www.volconvo.com/crownlink.gif" width="155" height="48" /></a></td>
<td width="10" valign="top">
</td>
<td width="320" valign="top"><p class="percent"><font size="2"><b>Your
campus could use a poster:</b> (pdf)
<a href="http://www.volconvo.com/adv1.pdf" target="_blank">1</a>, <a href="http://www.volconvo.com/advert.pdf" target="_blank">2</a>,
<a href="http://www.volconvo.com/adv5.pdf" target="_blank">3</a>, <a href="http://www.volconvo.com/adv3.pdf" target="_blank"> 4</a></font>&nbsp;<br /><br /><img border="0" src="http://www.volconvo.com/volconvocom.gif" width="86" height="30" alt="link to us" />
<img border="0" src="http://www.volconvo.com/volconvocomb.gif" width="86" height="30" alt="link to us" /></td>
<td width="64" valign="top">
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<hr noshade size="1" color="#DADADA" width="750" align="left" />
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<p align="center"><font size="2"><b>front</b> | <a href="http://www.volconvo.com/forums/index.php"> forums</a> | <a href="mailto:mail@volconvo.com"> contact</a> |
<a href="http://www.volconvo.com/index.php?act=Help"> help</a> </font>
</p>
<p align="center"><font size="1">&nbsp; Powered by <a href="http://www.invisionboard.com" target="_blank" style="color: #000000; text-decoration: none">Invision
Power Board</a>(U) v1.2 (c) 2004 &nbsp;<a href="http://www.invisionpower.com" target="_blank" style="color: #000000; text-decoration: none">IPS,
Inc.</a></font><br /><br /><br /><br /></td>
</tr>
</table>
<!--End Main Content-->
</body>

</html>


The only thing I didn't understand is when you said:
body tag, bgcolor, link, alink, vlink, topmargin, leftmargin, marginwidth, and marginheight are all depreciated. You need to use CSS for this.

Skyzyx
01-04-2004, 05:32 AM
bgcolor, link, alink, vlink, topmargin, leftmargin, marginwidth, and marginheight are all depreciated. You need to use CSS for this.

These attributes (that you're currently using in your code) were a part of HTML 4.01, but are NOT part of XHTML. Those are things that are not supposed to be handled by XHTML, but by CSS instead. That's why I gave you the code snippet to use.

Also, the FONT tag was depreciated even back in HTML 4.0. You should really, really, really, really, really get rid of every single one of them and use CSS instead.

You're using more tables for layout than I ever used, even in my table-heyday. In a forum, you might not be able to go completely table-less, but you can definitely slim them down, and offload much more of your code to CSS.

The <p> tag requires a closing tag. It's supposed to be for marking-up paragraphs... NOT for creating space between two elements... once again, a task for CSS.

All images need to use the alt attribute. The alt attribute is supposed to be for alternate text, in case a device or browser can't understand images, or if a savvy user has images turned off.

After fixing all of these things, as well as things I asked you to fix before (ampersands, lowercase tags and attributes, etc), it validates as XHTML 1.0 Transitional... but just barely.

If you really want to get better and move forward in your skills as a web designer, you should begin studying the work of some knowledgable designers: Jeffrey Zeldman, Dave Shea, Eric Meyer, Douglas Bowman, Dan Cederholm, Ethan Marcotte, Paul Scrivs, and others.

Really, truly... web standards is the way to go. :thumbsup:

Here's the corrected code:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />

<!-- You need to add the proper value for the content attribute -->
<meta http-equiv="no-cache" content="" />

<meta http-equiv="cache-control" content="no-cache" />

<meta name="description" content="A place of Heated Debate, Controversial Opinions, Provocative Images, and Growth" />
<meta name="keywords" content="volconvo, volconvo.com, hillary, clinton, lewinsky, bill, clinton, politics, abortion, debate, facts, list, of, debate, topics, list, of, debate, topics, islam, religion, natural, law, theory, philosophy, creation, vs., evolution, debate, capital, punishment, debate, death, penalty, debate, philosophy, statements, of, education, metaphysics, and, black, holes, philosophy, of, metaphysics, metaphysics, definition, volcano, political, ideologies, of, the, middle, east, volcanos, volcanoes, volcano, world, , inductive, deductive, reasoning, examples" />
<meta name="robots" content="all" />
<meta name="revisit-after" content="1 days" />

<title><!--CS.TEMPLATE.TITLE--></title>

<!--CS.TEMPLATE.JAVASCRIPT-->

<!--CS.TEMPLATE.CSS-->
<style type="text/css">
p.percent { line-height: 170%; }

body {
margin:0;
padding:0;
}

a { color:#ff0000; }
</style>

</head>


<body>
<div id="ipwrapper">
<!--CS.TEMPLATE.LINKS-->
<table border="0" cellpadding="0" cellspacing="0" width="765">
<tr>
<td width="20" height="1" rowspan="2"> </td>
<td width="364" height="1" colspan="4"><a href="http://www.volconvo.com/index.php?act=home"><img border="0" src="http://www.volconvo.com/logo.gif" width="173" height="65" alt="is heated debate" /></a><img alt="" border="0" src="http://www.volconvo.com/isheateddebate.gif" width="178" height="64" /></td>
<td width="386" height="1" colspan="2">
<p align="right"><font size="2"><br /><br /><br /><b>front</b> | <a href="http://www.volconvo.com/forums/index.php"> forums</a> | <a href="mailto:mail@volconvo.com"> contact</a> | <a href="http://www.volconvo.com/index.php?act=Help"> help</a></font></p>
</td>
</tr>
<tr>
<td width="750" height="1" colspan="6"></td>
</tr>
<tr>
<td width="20" valign="top" height="21"></td>
<td width="752" colspan="6" valign="top">
<hr noshade="noshade" size="1" width="750" align="left" />
</td>
</tr>
<tr>
<td width="20" rowspan="22" valign="top" height="608"></td>
<td width="752" colspan="6" valign="top"><!--CS.TEMPLATE.WELCOMEBOX--></td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade="noshade" size="1" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" height="30" colspan="3" valign="top">
<img alt="" border="0" src="http://www.volconvo.com/forums.gif" width="73" height="25" />
</td>
<td width="10" rowspan="8" height="338"></td>
<td width="386" height="30" valign="top" colspan="2">
<img alt="" border="0" src="http://www.volconvo.com/featuredtopic.gif" width="142" height="25" />
</td>
</tr>
<tr>
<td width="163" height="62" valign="top">
<b><font face="arial" size="2"><a href="http://">Politics &amp; Government</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="62"></td>
<td width="177" height="62" valign="top">
<b><font face="arial" size="2"><a href="http://">Philosophy &amp; Religion</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="386" bgcolor="#EEEEEE" rowspan="7" valign="top" colspan="2" height="308">
<p style="margin-left: 5; margin-right: 5">
<!--MAIN-->
<!--CS.TEMPLATE.ARTICLES-->
<!--END MAIN-->
</p>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3"></td>
</tr>
<tr>
<td width="163" height="61" valign="top"><b><font face="arial" size="2"><a href="http://">Current Events &amp; Media</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61"></td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">Society &amp; Rights</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3" valign="top"></td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">Science &amp; Technology</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61"></td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">Scream &amp; Throw Stuff</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="352" height="21" colspan="3" valign="top"></td>
</tr>
<tr>
<td width="163" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">General Discussion</a><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
<td width="8" height="61"></td>
<td width="177" height="61" valign="top">
<b><font face="arial" size="2"><a href="http://">Announcements</a></font><font face="arial" size="3"><br /></font><font face="arial" size="1">12-15-2003 01:32 AM<br />
<!--TEMPLATE: skin_boards, Template Part: forumrow_lastunread_link-->
<img alt="" border="0" src="http://www.volconvo.com/lastpost.gif" width="10" height="7" /><a title="Go to the first unread post" href="http://www.volconvo.com/index.php?amp;showtopic=411&amp;view=getnewpost">Rumsfeld's chronies ove...</a><br />
by: <a href="http://www.volconvo.com/index.php?amp;showuser=81" style="color: #000000">Geoff332</a></font></b>
</td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade="noshade" size="1" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" height="29" colspan="3" valign="top">
<img alt="" border="0" src="http://www.volconvo.com/someforumtopics.gif" width="192" height="27" />
</td>
<td width="10" height="29"></td>
<td width="386" height="29" valign="top" colspan="2">
<img alt="" border="0" src="http://www.volconvo.com/previousfeatures.gif" width="174" height="27" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><p class="percent"><font face="arial" size="2"><!--CS.TEMPLATE.LATESTPOSTS--></font></p></td>
<td width="10" valign="top"></td>
<td width="386" valign="top" colspan="2"><p class="percent"><font face="arial" size="2"><!--CS.TEMPLATE.RECENTARTICLES--></font></p></td>
</tr>
<tr>
<td width="752" colspan="6" valign="top">
<hr noshade="noshade" size="1" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top">
<p class="percent"><img alt="" border="0" src="http://www.volconvo.com/pagestats.gif" width="106" height="25" /></p>
</td>
<td width="10" valign="top"><p class="percent"></p></td>
<td width="320" valign="top">
<p class="percent"><img alt="" border="0" src="http://www.volconvo.com/voteheading.gif" width="44" height="25" /></p>
</td>
<td width="64" valign="top"><p class="percent"></p></td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><p class="percent"><!--CS.TEMPLATE.ONLINEUSERS--></p></td>
<td width="10" valign="top"></td>
<td width="320" valign="top"><p class="percent"><!--CS.TEMPLATE.POLL--></p></td>
<td width="64" valign="top"></td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<hr noshade="noshade" size="1" width="750" align="left" />
</td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><img alt="" border="0" src="http://www.volconvo.com/supportedby.gif" width="137" height="25" /></td>
<td width="10" valign="top"></td>
<td width="320" valign="top"><img alt="" border="0" src="http://www.volconvo.com/promoteus.gif" width="116" height="25" /></td>
<td width="64" valign="top"></td>
</tr>
<tr>
<td width="352" colspan="3" valign="top"><a href="http://www.webstarhosting.ca" onmouseover="webstar.src='http://www.volconvo.com/webstar2.gif';" onmouseout="webstar.src='http://www.volconvo.com/webstar1.gif';" target="_blank"><img name="webstar" border="0" src="http://www.volconvo.com/webstar1.gif" width="180" height="48" alt="Want your page this fast?" /></a><br /><a href="http://www.crownlink.com" target="_blank"><img alt="" border="0" src="http://www.volconvo.com/crownlink.gif" width="155" height="48" /></a></td>
<td width="10" valign="top"></td>
<td width="320" valign="top">
<p class="percent"><font size="2"><b>Your campus could use a poster:</b> (pdf)
<a href="http://www.volconvo.com/adv1.pdf" target="_blank">1</a>, <a href="http://www.volconvo.com/advert.pdf" target="_blank">2</a>,
<a href="http://www.volconvo.com/adv5.pdf" target="_blank">3</a>, <a href="http://www.volconvo.com/adv3.pdf" target="_blank"> 4</a></font> <br /><br /><img border="0" src="http://www.volconvo.com/volconvocom.gif" width="86" height="30" alt="link to us" />
<img border="0" src="http://www.volconvo.com/volconvocomb.gif" width="86" height="30" alt="link to us" />
</p>
</td>
<td width="64" valign="top"></td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<hr noshade="noshade" size="1" width="750" align="left" />
</td>
</tr>
<tr>
<td width="746" colspan="6" valign="top">
<p align="center"><font size="2"><b>front</b> | <a href="http://www.volconvo.com/forums/index.php"> forums</a> | <a href="mailto:mail@volconvo.com"> contact</a> |<a href="http://www.volconvo.com/index.php?act=Help"> help</a> </font></p>
<p align="center"><font size="1"> Powered by <a href="http://www.invisionboard.com" target="_blank" style="color: #000000; text-decoration: none">Invision Power Board</a>(U) v1.2 (c) 2004 <a href="http://www.invisionpower.com" target="_blank" style="color: #000000; text-decoration: none">IPS, Inc.</a></font><br /><br /><br /><br /></p>
</td>
</tr>
</table>
<!--End Main Content-->

</div>
</body>
</html>

CeeN
01-04-2004, 06:24 AM
whoa..thanks...I like you haha...I'm going to print this out and try to understand what you did. I'll have to mess around a bit-it's still not valid..

http://www.volconvo.com/index.php?act=home is the actual address.

Mhtml
01-04-2004, 07:03 AM
Please name your topics more appropriately in future ...
Posting Guidelines (http://www.codingforums.com/postguide.htm)

Also use code tags when posting code please!

your code here

CeeN
01-04-2004, 07:09 AM
Originally posted by Mhtml
Please name your topics more appropriately in future ...
Posting Guidelines (http://www.codingforums.com/postguide.htm)

Also use code tags when posting code please!

your code here

actually I wanted to, but the forum would not let me change it...I pm'd 2 moderators yesterday, but it hasn't changed. You can see how I tried to change it in the mini subject line...

Mhtml
01-04-2004, 07:19 AM
lol okey dokey :) ... ou t of interest which moderators did you PM? I haven't got a new PM (I think) and I moderate this section (along with sage45) ...

CeeN
01-04-2004, 07:54 AM
actually just jkd..cause I saw him on :)

Mhtml
01-04-2004, 12:58 PM
Oh ok, well I usually keep outlook open so whenever I get a pm, report or a reply I'm usually on top of it pretty quick. :)

[edit:] Oh and I renamed your thread for you :)...

CeeN
01-04-2004, 05:06 PM
great, thanks :D Any ideas on a good place to have someone edit my work so it's validated, and such? I don't mind paying for stuff like that, so any ideas would be cool. I just want to get it right.

me'
01-04-2004, 05:23 PM
Then code right. It's not particulary hard, just keep in mind some simple rules: XML is case sensitive, and all the tag names in XHTML are in lowercase, as are the attribute names.
All tags need an end tag. Tags that don't normally have end tags in HTML ('empty' tags) are closed with a '/' before the end of the tag.
All attributes must be quotes with " or '.
Your code must be well formed. This means, if you open a tag and then open another one, make sure you close the second one before the first. In other words:
<tag1>
<tag2>Hello World
</tag1></tag2>is illegal. It should be:
<tag1>
<tag2>Hello world</tag2>
</tag1>.

Skyzyx
01-04-2004, 10:51 PM
The code that I posted does validate. I uploaded a copy of it to my webserver, and validated it myself. What's the problem you're having?

CeeN
01-04-2004, 11:55 PM
Sky, the actual page does not... http://www.volconvo.com/index.php?act=home

Thanks guys...you've been helpful.

Skyzyx
01-05-2004, 12:08 AM
Well, if you'd listen to what I've already said more than once, as well as what me' has said, then you'd already know what you have to do. Just open up notepad, and make the proper edits to the code.

Once again...

Change all non-entity ampersands (being "&" by themselves or inside URL's) to &amp;amp;
ALL tags, and ALL attribute names MUST be lowercase.
All non-closing tags (including <input />) must end with a slash before the close of the tag (i.e. <input type="button" value="Boogers" />)


It almost seems like you're not even trying. :(

Nightfire
01-05-2004, 12:08 AM
Check for dupliate tags, such as lines 165 and 166

Change all & tags to &amp;amp;

All tags, names, etc to be in lowercase

All attributes to be surrounded with double quotes, not single quotes (ie " and not ')

<edit>Same as what he said lol</edit>

CeeN
01-05-2004, 12:44 AM
Originally posted by Skyzyx
Well, if you'd listen to what I've already said more than once, as well as what me' has said, then you'd already know what you have to do. Just open up notepad, and make the proper edits to the code.

Once again...

Change all non-entity ampersands (being "&" by themselves or inside URL's) to &amp;amp;
ALL tags, and ALL attribute names MUST be lowercase.
All non-closing tags (including <input />) must end with a slash before the close of the tag (i.e. <input type="button" value="Boogers" />)


It almost seems like you're not even trying. :(

Oh, I was just answering your question sky, and when I said thanks I was serious; I hope you didn't think I was being sarcastic. I'm coding right now with all of your advice-I was just thanking you guys, and answering your question.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum