Jump to content

valadation code wrong please help


redarrow
 Share

Go to solution Solved by redarrow,

Recommended Posts


    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta name="description" content="Kenai River Fishing In Alaska, Kenai Alaska Fishing information and cheap products" />
    <meta name="keywords" content="kenai alaska fishing,kenai fishing alaska,fishing kenai alaska,fishing alaska kenai,alaska fishing kenai,kenai fishing products," />
    <title>Kenai River Fishing - kenairiverfishing.co.uk</title>
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
    background-color: #339999;
    }
    .fixcenter {
    border: 2px solid #000000;
    }
    .fixcenter {
    background: none repeat scroll 0 0 #0000FF;
    }
    .nav .current {
    background: none repeat scroll 0 0 #000000;
    }
    .nav a {
    color: #000000;
    }
    </style></head>
    <body>
    <div class="fixcenter" align="center">
    <div align="center">
    <table border="0" cellspacing="0" cellpadding="1">
    <tr>
    <td height="100" rowspan="2" valign="middle" align="center">&nbsp</td>
    <td height="50" align="center" valign="bottom" style="color: #000033;"><h1 class="tittle">Kenai River Fishing - kenairiverfishing.co.uk</h1></td>
    </tr>
    <tr>
    <td height="30" align="center" valign="top"><img alt="image" src="/images/slogan.jpg" /></td>
    </tr>
    </table>
    </div></div>
    <div class="fixcenter">
    <p class="nav">
    <a href="/" class="current">Home</a> | <a href="/view/link">link</a></p></div>
    <div class="fixcenter">
    <div class="column_left">
    <div class="topads">
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-1312898102505018";
    /* add5 */
    google_ad_slot = "2707702686";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script> </div>
    <a class="mainpagekeyword" href="cat/fishing-boats"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing boats</div></a>
    <a class="mainpagekeyword" href="cat/fishing-tackle"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing tackle</div></a>
    <a class="mainpagekeyword" href="cat/fishing"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing</div></a>
    <a class="mainpagekeyword" href="cat/fishing-reels"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing reels</div></a>
    <a class="mainpagekeyword" href="cat/fishing-gear"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing gear</div></a>
    <a class="mainpagekeyword" href="cat/fishing-equipment"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing equipment</div></a>
    <a class="mainpagekeyword" href="cat/fishing-rods"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing rods</div></a>
    <a class="mainpagekeyword" href="cat/fishing-lures"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing lures</div></a>
    <a class="mainpagekeyword" href="cat/fishing-games"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing games</div></a>
    <a class="mainpagekeyword" href="cat/fishing-knots"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing knots</div></a>
    </div>
    <div class="column_right">
    <script type="text/javascript"><!--
    google_ad_client = "ca-pub-1312898102505018";
    /* add3 */
    google_ad_slot = "5800769888";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script> </div>
    <div style="clear: both;"></div>
    </div>
    <div class="fixcenter" align="center">
    <div class="footertext">
    <p>
    <a href="/view/privacy-policy">Privacy Policy</a> <br />
    <a href="http://www.kenairiverfishing.co.uk/">http://www.kenairiverfishing.co.uk/</a> - <a href="http://answers.yahoo.com/">Powered by Yahoo! Answers</a> </p>
    </div>
    </div>
    </body>
    </html>

every time this code is valadated from wc3 keeps telling me there a div not there or two meny please help going mad

Link to comment
Share on other sites

And this is in the PHP forum why  . . . ?

 

You have over 7,000 posts. If we cannot trust people who have been around a long time to follow the rules it's kind of hard to expect new users to follow them.

Edited by Psycho
Link to comment
Share on other sites

Try indenting properly and you might find it.

sorry didnt think of indenting, i have been iming for a while, dont use php oa lot any more got

bills, needed better money and adsence and seo and backlinks do it for me, so i am

very rusty in php.

 

 

 

And this is in the PHP forum why  . . . ?

 

You have over 7,000 posts. If we cannot trust people who have been around a long time to follow the rules it's kind of hard to expect new users to follow them.

sorry i  posted in thje php forum becouse i am tunnel blind and all my setup for forums is set on php helping.

 

i would like to see how good you are, i would like you to get someone blind fold you and do a easly html page then think my god redarrow does all that some times every day in the dark and php,xhtml,mysql,javascript and ajax.....

 

can U!!

 

ps. also u been here for years and u still think posts means how good u are at php yee ok ask a admin.

Edited by redarrow
Link to comment
Share on other sites


<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Kenai River Fishing In Alaska, Kenai Alaska Fishing information and cheap products" />
<meta name="keywords" content="kenai alaska fishing,kenai fishing alaska,fishing kenai alaska,fishing alaska kenai,alaska fishing kenai,kenai fishing products," />
<title>Kenai River Fishing - kenairiverfishing.co.uk</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
background-color: #339999;
}
.fixcenter {
border: 2px solid #000000;
}
.fixcenter {
background: none repeat scroll 0 0 #0000FF;
}
.nav .current {
background: none repeat scroll 0 0 #000000;
}
.nav a {
color: #000000;
}
</style></head>
<body>
<div class="fixcenter" align="center">
<div align="center">
<table border="0" cellspacing="0" cellpadding="1">
<tr>
<td height="100" rowspan="2" valign="middle" align="center">&nbsp</td>
<td height="50" align="center" valign="bottom" style="color: #000033;"><h1 class="tittle">Kenai River Fishing - kenairiverfishing.co.uk</h1></td>
</tr>
<tr>
<td height="30" align="center" valign="top"><img alt="image" src="/images/slogan.jpg" /></td>
</tr>
</table>
</div></div>
<div class="fixcenter">
<p class="nav">
<a href="/" class="current">Home</a> | <a href="/view/link">link</a></p></div>
<div class="fixcenter">
<div class="column_left">
<div class="topads">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1312898102505018";
/* add5 */
google_ad_slot = "2707702686";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </div>
<a class="mainpagekeyword" href="cat/fishing-boats"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing boats</div></a>
<a class="mainpagekeyword" href="cat/fishing-tackle"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing tackle</div></a>

<a class="mainpagekeyword" href="cat/fishing"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing</div></a>
<a class="mainpagekeyword" href="cat/fishing-reels"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing reels</div></a>
<a class="mainpagekeyword" href="cat/fishing-gear"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing gear</div></a>
<a class="mainpagekeyword" href="cat/fishing-equipment"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing equipment</div></a>
<a class="mainpagekeyword" href="cat/fishing-rods"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing rods</div></a>
<a class="mainpagekeyword" href="cat/fishing-lures"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing lures</div></a>
<a class="mainpagekeyword" href="cat/fishing-games"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing games</div></a>
<a class="mainpagekeyword" href="cat/fishing-knots"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing knots</div></a>
</div>
<div class="column_right">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-1312898102505018";
/* add3 */
google_ad_slot = "5800769888";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </div>
<div style="clear: both;"></div>
</div>
<div class="fixcenter" align="center">
<div class="footertext">
<p>
<a href="/view/privacy-policy">Privacy Policy</a> <br />
<a href="http://www.kenairiverfishing.co.uk/">http://www.kenairiverfishing.co.uk/</a> - <a href="http://answers.yahoo.com/">Powered by Yahoo! Answers</a> </p>
</div>
</div>
</body>
</html>

code indented still dont see the div

 

Line 56, Column 124: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

//line 56 /////////// <a class="mainpagekeyword" href="cat/fishing-boats"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing boats</div></a>
<a class="mainpagekeyword" href="cat/fishing-tackle"><div align="center" class="mainpagekeyword" style="color: #000033;">fishing tackle</div></a>

 

Edited by redarrow
Link to comment
Share on other sites

ps. also u been here for years and u still think posts means how good u are at php yee ok ask a admin.

 

I would never assume that someone's post count is indicative of their ability or competence in some skill-set. Only that their post count should be indicative of how much experience they have posting in that particular forum.

Link to comment
Share on other sites

This thread is more than a year old. Are you sure you have something important to add to it?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.