Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Dec 2008
    Posts
    116
    Thanks
    11
    Thanked 4 Times in 4 Posts

    Menu linking help

    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=ht...idator%2F1.654

    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">
    <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>
    Last edited by The_Return; 05-05-2009 at 02:07 PM.

  • #2
    GŁtkodierer
    Join Date
    Apr 2009
    Posts
    2,127
    Thanks
    1
    Thanked 426 Times in 424 Posts
    Not exactly a PHP question.

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

  • #3
    Regular Coder
    Join Date
    Dec 2008
    Posts
    116
    Thanks
    11
    Thanked 4 Times in 4 Posts
    thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •