...

View Full Version : Menu linking help



The_Return
05-05-2009, 02:03 PM
I'm cleaning up all the html errors from the guy that I hired to do my site :( But I can't get it to validate because of how links are. Is their anyway special to code the link to make them valid?

http://validator.w3.org/check?uri=http%3A%2F%2Fcodingagent.com%2Fdebug&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.654



<!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>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script language="javascript" type="text/javascript" src="openwysiwyg/openwysiwyg/scripts/wysiwyg.js"></script>
<script type="text/javascript" src="openwysiwyg/openwysiwyg/scripts/wysiwyg-settings.js"></script>

<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/projects.css" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CodingAgnet - Coders across the world unite</title>
</head>

<body>

<div id="wrap">
<div id="header">
</div><!--header-->
<div id="us">US:</div>
<div id="logo">
</div><!--logo-->

<div id="nav">

<div class="nav_lhome"></div>
<div class="nav_bghome">



<div class="menu" onmouseout="javascrpt:{document.getElementById('childmenu10').style.display = 'none'}" onmouseover="javascrpt:{document.getElementById('childmenu10').style.display = ''}" >

<a href="index.php?option=project&task=all&menuid=10">Browse Project </a></div>


<div id="childmenu10" class="childmenu" style="display:none" onmouseover="javascrpt:{document.getElementById('childmenu10').style.display = ''}" >


</div>


<div class="menu" onmouseout="javascrpt:{document.getElementById('childmenu19').style.display = 'none'}" onmouseover="javascrpt:{document.getElementById('childmenu19').style.display = ''}" >

<a href="index.php?option=user&task=register&utype=4&menuid=19">Become Coder </a></div>


<div id="childmenu19" class="childmenu" style="display:none" onmouseover="javascrpt:{document.getElementById('childmenu19').style.display = ''}" >


</div>


<div class="menu" onmouseout="javascrpt:{document.getElementById('childmenu20').style.display = 'none'}" onmouseover="javascrpt:{document.getElementById('childmenu20').style.display = ''}" >


<a href="index.php?option=user&task=register&utype=3&menuid=20">Become Buyer </a></div>


<div id="childmenu20" class="childmenu" style="display:none" onmouseover="javascrpt:{document.getElementById('childmenu20').style.display = ''}" >


</div>


<div class="menu" onmouseout="javascrpt:{document.getElementById('childmenu17').style.display = 'none'}" onmouseover="javascrpt:{document.getElementById('childmenu17').style.display = ''}" >

<a href="index.php?option=news&menuid=17">News </a></div>


<div id="childmenu17" class="childmenu" style="display:none" onmouseover="javascrpt:{document.getElementById('childmenu17').style.display = ''}" >


</div>



<div class="menu"><a href="index.php?option=user&amp;task=login_form">Login</a></div>


</div><!--nav_bg-->
<div class="nav_rhome">
</div>
</div><!--nav-->
<div id="map">

<div id="list">
<ul class="codes">
<li><a href="">xHTML</a></li>

<li><a href="">CSS</a></li>
<li><a href="">PHP</a></li>
<li><a href="">AJAX</a></li>
<li><a href="">JAVA</a></li>
<li><a href="">XML</a></li>
</ul>

</div>
<!--list-->

</div><!--map-->

<div id="main">

<div class="contenthome">

<div class="entry">
<h1>Who We Are</h1>
<div class="ruler"></div>

Coding Agent is an online freelanicng site for independent coders. Users can register in minutes and post their skills, portfolio and other information about themself. Coders work their way up on the roster by employers rating how well they completed their task, the higher the rank of the coder the more chance that person has to be hired.</div>
<!--entry-->
<div class="entry">
<h1>What Makes Us Different</h1>
<div class="ruler"></div>
Coding Agent is an online freelanicng site for independent coders. Users can register in minutes and post their skills, portfolio and other information about themself. Coders work their way up on the roster by employers rating how well they completed their task, the higher the rank of the coder the more chance that person has to be hired.</div>
<!--entry-->

</div><!--content-->
<div class="login">
<h1>Client login</h1>
<div class="rulerlogin"></div>

<form name="login" action="index.php" method="post">

<input type="text" class="blank" name="email" id="email" value="Username" /><br />
<input type="password" class="blank" name="password" id="password" value="password" />
Remember me next time:&nbsp; <input type="checkbox" class="checkbox" /><br />

<input type="submit" class="submit" value=" " />
<input type="hidden" id="task" name="task" value="login" />
<input type="hidden" name="option" value="user" />
</form>
</div><!--login-->
<div class="clear"></div>
</div><!--main--> <div class="footer" >
</div><!--footer-->
</div><!--wrapper-->


</body>
</html>

venegal
05-05-2009, 02:12 PM
Not exactly a PHP question.

Replace those nasty & in the links with &amp;.
That should do the trick.

The_Return
05-05-2009, 02:26 PM
thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum