Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-05-2009, 02:03 PM   PM User | #1
The_Return
Regular Coder

 
Join Date: Dec 2008
Posts: 116
Thanks: 11
Thanked 4 Times in 4 Posts
The_Return has a little shameless behaviour in the past
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..
The_Return is offline   Reply With Quote
Old 05-05-2009, 02:12 PM   PM User | #2
venegal
Gütkodierer


 
Join Date: Apr 2009
Posts: 2,127
Thanks: 1
Thanked 426 Times in 424 Posts
venegal has a spectacular aura aboutvenegal has a spectacular aura about
Not exactly a PHP question.

Replace those nasty & in the links with &amp;.
That should do the trick.
venegal is offline   Reply With Quote
Old 05-05-2009, 02:26 PM   PM User | #3
The_Return
Regular Coder

 
Join Date: Dec 2008
Posts: 116
Thanks: 11
Thanked 4 Times in 4 Posts
The_Return has a little shameless behaviour in the past
thanks
The_Return is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:37 PM.


Advertisement
Log in to turn off these ads.