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
    Oct 2010
    Posts
    260
    Thanks
    8
    Thanked 1 Time in 1 Post

    Validation Errors

    Hi, I'm getting this error
    Any ideas?

    Validation Output: 1 Error

    Line 207, Column 3: required character (found s) (expected b)
    </script>


    Code:
    <!DOCTYPE HTML>
       
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>  
        
             <script type="text/javascript" src="swfobject.js"></script>
    
    </script> 
    	
                  <script type="text/javascript">
    function rollover(x,y) {
    	document.getElementById(x).src=y;
    }
    </script>
            <title></title>
            
            <style type="text/css">
    		 
    		*{margin:0px; padding:0px;}
    		
    		 
    		 .rank {
    	       font-size:45px;
           color: #FFFFFF;
    	
    	height:6%;
    
    border-top:#000; 
    			 }
    
    		html {
      
      
      padding:0;
      margin:0;
    }
    body {
      height:100%;
      padding:0;
      margin:0;
    }
    
    #content {
      padding-top:-26px;
    margin-bottom:-20px;
      text-align:center;
    }
    #hint {
      color:#666;
      margin-left:15%;
      width:300px;
      text-align:left;
      margin-top:3em;
    }
    			 
    		 #wrapper{width:100%; margin:0px auto;   background-color: #3d3d3d;}
    		 
    	#top {	 border-bottom: 1px solid #000;}
    #subscribe {text-align:center;position:relative;font-size:13px;font-weight:bold;float:right;}
    	
    		 #header {
           width: 100%;
           height: 75px;
           border: 1px solid #000000;
           background-color: #000;
           float:left;
           color: #FFFFFF;
           }
         #col1{width:20%; 
               height:430px; 
               float:left;
               
               }
         #col2{width:40%; 
               height:430px; 
               float:left;
                background-image:url('metal.jpg');
               }
    		    	#contact{margin-top:-22px;}
    				#contact a:hover{text-decoration:underline; color:black; font-weight:bold;font-size:18px;}
    			#contact a:link { color:white; font-weight:bold;font-size:18px;}
    			#contact a:visited {text-decoration: none; color:white; font-weight:bold;font-size:18px;}
    			#contact a:active {text-decoration: none; color:white; font-weight:bold;font-size:18px;} 
    		#service{margin-left:340px;}
    			#service  a:hover{text-decoration:underline; color:black; font-weight:bold;font-size:18px;}
    			#service a:link { color:white; font-weight:bold;font-size:18px;}
    			#service a:visited {text-decoration: none; color:white; font-weight:bold;font-size:18px;}
    			#service a:active {text-decoration: none; color:white; font-weight:bold;font-size:18px;} 
    			  #about{margin-right:320px;margin-bottom:-21px;}
    		 	#about  a:hover{text-decoration:underline; color:black; font-weight:bold;font-size:18px;}
    			#about a:link { color:white; font-weight:bold;font-size:18px;}
    			#about a:visited {text-decoration: none; color:white; font-weight:bold;font-size:18px;}
    			#about a:active {text-decoration: none; color:white; font-weight:bold;font-size:18px;} 
         #col3{width:20%; 
               height:430px; 
    		   
               float:left;
              
    		   
               }
         #footer{width:100%; 
                 height:100%; 
                 clear:both;
                 overflow:hidden;
                 background-color: #000;
                 text-align: center;
    			 padding-top:70px;
                 color: #FFFFFF;}
          body{overflow-x:hidden; 
               overflow-y:auto;    
               background-color: #000;}
          .buffer{
               background:gray;
               width:10%;
               height:430px;
               float:left;
               }
          .hhr{
              display:block;
              visibility:hidden;
          } 
    	  #img {text-align:center;}
          .col_cont{
              background-image:url('metal.jpg');
               border:1px solid black;
    		   height:100%;
    		   
    		   
               }
    		  #col2content {text-align:center;overfloFw-x:hidden;color:white; width:99%;background-color: #00a3e8;padding-bottom:5px;
               overflow-y:auto;height:99%; border-style:solid;border-color:black;}
    		    .col_cont ol{
              background-image:url('metal.jpg');
           
    		   height:100%;
    		   padding-left:30px;
    		 }
    		    #links p {border-bottom:solid;margin-top:-7px;padding-bottom:53px;font-size:28px;}
    		  #links {font-size:28px;text-align:center;padding-top:12px;padding-bottom:8px;border-bottom:solid; margin-top:4px;}
         .top{
    		 text-align:center;font-size:25px;font-weight:bold;padding-top:10px;
    		 } 
    
    		 #share {padding-top:8Px;margin-top:-38px;font-size:28px;}   
    		 .more {text-align:center;font-size:25px;padding-top:0px;margin-top:305px;width:60%; margin-left:53px;}  
    
         #all{margin-top:-50px;font-size:25px;text-align:center;}
    	   A:link {text-decoration: none;color:black;}
    A:visited {text-decoration: none;color:black;}
    A:active {text-decoration: none;color:black}
    A:hover {text-decoration: none; color: white;}
    	   #rating {text-align:center;position:relative;bottom:160px;font-size:22px;
    		   }
    		   #welcome{color:white;float:right;padding-right:140px;padding-top:15px;}
    		   #like {padding-top:35px;}
    		   #like p {font-size:20px;}
    		   #rankstuff{letter-spacing:30px;}
    		   #mininavi
    		    {text-decoration: none; float:right;color:white;position:relative;top:35px;left:50px;	 }
    			#mininavi a:link {text-decoration: none; color:white;	 }
    			#mininavi a:visited {text-decoration: none; color:white; }
    				#mininavi1 a:link {text-decoration: none; color:white;	 }
    			#mininavi1 a:visited {text-decoration: none; color:white; }
    					#mininavi1 a:hover {text-decoration: none; color:#00a3e8; }
    					#mininavi a:hover {text-decoration: none; color:#00a3e8; }
    			
    		    #mininavi1 {float:right;color:white;position:relative;top:35px;left:130px;}
    
    	   div.rank{
              font-size:25px;$
    		position:relative;bottom:10px;
    		  padding-left:15px;
          
    	
           color: #000;
           }
    
    	   #artistname{text-align:center;position:relative;bottom:110px;font-size:20px;font-weight:bold;right:50px;}
    	   #songtitle{text-align:center;position:relative;bottom:90px;font-size:20px;font-weight:bold;right:50px;}
    	   #dewplayer{position:relative;bottom:20px;}
    	     	
    	   #moreartist{color:white;font-size:25px;font-weight:bold;position:relative;bottom:30px;}
    	   #ratetype {font-size:35px;margin-top:-20px;position:relative;top:26px;}
    	   #playandlike {margin-top:140px;padding-bottom:4px;}
    	  #subscribetext{float:right;position:relative;top:25px;left:100px;text-align:right;font-weight:bold;}
    	#java {text-align:center;position:relative;bottom:62px;left:380px;width:0%;padding-top:37px;}
    	          #col1white {font-weight:bold;background-color:white; color: #00a3e8;position:relative;bottom:288px;height:64%;border-style:solid;border-color:black;font-size:30px;text-align:center;padding-top:10px;}
    	    ul {
                    text-decoration: underline;
                    list-style-type: none;text-align:center;padding-top:20px;font-size:25px;
                }
    			 #ratethisjam {position:relative;bottom:43px;font-size:30px;color:white;border-style:solid;border-color:black;letter-spacing:3px;margin-top:-34px;}
    			 			 #outnow {font-size:28px;text-align:center;margin-top:50px;}
    	   #navi1 {text-align:center;}
    	    div.rank ol li{
              font-size:20px;
    		  padding-top:10px;
    +
    -
          
    	
           color: #000;
    	   
           }
    	   	 #profile {padding-bottom:0px;margin-top:-90px;font-size:28px;position:relative;top:49px;} 
    	   #rank1{font-size:30px;}
    	   
    		</style>
            
    
      </head>
        <body>

  • #2
    Senior Coder alykins's Avatar
    Join Date
    Apr 2011
    Posts
    1,662
    Thanks
    41
    Thanked 189 Times in 188 Posts
    is this loaded to ur page yet? if so what is link again? also note that you have a </script> (line 8 of posted code) that does not have an opening <script> allocated to it... could be messing things up (idk why it would present on line 207 though

    I code C hash-tag .Net
    Reference: W3C W3CWiki .Net Lib
    Validate: html CSS
    Debug: Chrome FireFox IE

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Following are the error I got in CSS validation:

    Code:
              Sorry! We found the following errors (9)       
      
      
          URI : TextArea
      
          
      
    26   #content   Value Error :   padding-top -26.0 negative values are not allowed : -26px -26px        
    91   body   Property   overflow-x doesn't exist in CSS level 2.1 but exists in : hidden hidden       
    92   body   Property   overflow-y doesn't exist in CSS level 2.1 but exists in : auto auto        
    112   #col2content   Property   overflofw-x doesn't exist : hidden hidden        
    113   #col2content   Property   overflow-y doesn't exist in CSS level 2.1 but exists in : auto auto        
    153   div.rank   Lexical   error at line 152, column 27. Encountered: "\n" (10), after :   "$" ; position:relative;       
    160       Parse   Error [:10px; padding-left:15px; color: #000; } #artistname]       
    184   div.rank   ol li   Parse   Error ; + - color: #000;        1
    86   div.rank   ol li   Parse   Error }
    Also there is an extra </script> tag is there.

    Keep your code simple
    Last edited by vikram1vicky; 07-18-2011 at 03:01 PM.


  •  

    Posting Permissions

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