HTML - Errors Trying To Get Cs3 Complient Grrrr
hey peeps, im so happy ive found this forum, i really need some help (im a newbee by the way)
when tryng to get my site cs3 complient using the validator.w3.org i get many messages with errors. Ive fixed a few, like doctype and xml and that which got rid of 2 but i still have 24 left! i do think however that if i do one or two things a large chunck of them will go at once. would someone please ehlp me out, id really appreciate it???? my website is losttv.50webs.com and the link to the validation erros is; http://validator.w3.org/check?uri=ht...ss=1&g roup=0 im not asking without trying, i have attemoted but really i am struggling, thanks Code: <? xml version="1.0"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see www.w3.org"> <meta http-equiv="Content-Language" content="en-gb"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Welcome to LOST</title> <SCRIPT> type="text/javascript"> </SCRIPT> <!-- function FP_swapImg() {//v1.0 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length; n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm; elm.$src=elm.src; elm.src=args[n+1]; } } } function FP_preloadImgs() {//v1.0 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array(); for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; } } function FP_getObjectByID(id,o) {//v1.0 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id); else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el; if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c) for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; } f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements; for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } } return null; } // --> </script> <link rel="stylesheet" type="text/css" href="CSS.css"> <style type="text/css"> <!-- a:hover { text-decoration: line-through } --> </style> <style type="text/css"> body { background-color: #000000; } div.c4 {text-align: center} h2.c3 {text-align: center} h1.c2 {color: #FFFFFF; font-size: 150%; text-align: center} span.c1 {color: #FFFFFF} </style> </head> <body onload="FP_preloadImgs(/*url*/'images/button11.gif', /*url*/'images/button12.gif', /*url*/'images/button24.gif', /*url*/'images/button25.gif', /*url*/'images/button27.gif', /*url*/'images/button28.gif', /*url*/'images/button2A.gif', /*url*/'images/button2B.gif', /*url*/'images/button2D.gif', /*url*/'images/button2E.gif', /*url*/'images/button30.gif', /*url*/'images/button31.gif', /*url*/'images/button33.gif', /*url*/'images/button34.gif')"> <div class="c4"><embed width="128" height="128" src="Audio/S1E01_Island_Monster.mp3" hidden="true"> <table border="0" width="800" id="table1"> <tr> <td height="103" colspan="2"><img border="0" src="images/lost%20logo.jpg" width="791" height="121" alt="** PLEASE DESCRIBE THIS IMAGE **"></td> </tr> <tr> <td width="163" height="419" rowspan="2"><u><span class="c1"><strong>NAVIGATION BAR</strong></span></u> <p><a href="Jack.htm"><img border="0" id="img1" src="images/button10.gif" alt="Jack" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button11.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button10.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'images/button12.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'images/button11.gif')" width="100" height="20"></a></p> <p><a href="Locke.htm"><img border="0" id="img8" src="images/button23.gif" alt="Locke" onmouseover="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button24.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button23.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img8',/*url*/'images/button25.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img8',/*url*/'images/button24.gif')" width="100" height="20"></a></p> <p><a href="Sawyer.htm"><img border="0" id="img9" src="images/button26.gif" alt="Sawyer" onmouseover="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button27.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button26.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img9',/*url*/'images/button28.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img9',/*url*/'images/button27.gif')" width="100" height="20"></a></p> <p><a href="Kate.htm"><img border="0" id="img10" src="images/button29.gif" alt="Kate" onmouseover="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button2A.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button29.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img10',/*url*/'images/button2B.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img10',/*url*/'images/button2A.gif')" width="100" height="20"></a></p> <p><a href="Hurley.htm"><img border="0" id="img11" src="images/button2C.gif" alt="Hurley" onmouseover="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button2D.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button2C.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img11',/*url*/'images/button2E.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img11',/*url*/'images/button2D.gif')" width="100" height="20"></a></p> <p><a href="Sayid.htm"><img border="0" id="img12" src="images/button2F.gif" alt="Sayid" onmouseover="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button30.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button2F.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img12',/*url*/'images/button31.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img12',/*url*/'images/button30.gif')" width="100" height="20"></a></p> <p><a href="The%20Numbers.htm"><img border="0" id="img13" src="images/button32.gif" alt="Numbers" onmouseover="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button33.gif')" onmouseout="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button32.gif')" onmousedown="FP_swapImg(1,0,/*id*/'img13',/*url*/'images/button34.gif')" onmouseup="FP_swapImg(0,0,/*id*/'img13',/*url*/'images/button33.gif')" width="100" height="20"></a></p> </td> <td width="627" height="75"> <h1 class="c2"><strong>Welcome to my website, built to inform about the characters of my favourite show - LOST</strong></h1> </td> </tr> <tr> <td width="627" height="343"> <h2 class="c3"><strong><span class="c1">Welcome to my website intended to inform, you the reader about the wonderful TV show LOST. It contains information, video, and audio snips about all of the "most important characters" although, I must stress that there are too many people to add to this.</span></strong></h2> <h2 class="c3"></h2> <h2 class="c3"><strong><span class="c1">I myself am a big fan of lost and have watched every episode since it started, I am enthralled at the story line and am always trying to second guess the writers, to no avail so far though!</span></strong></h2> <h2 class="c3"></h2> <h2 class="c3"><strong><span class="c1">So, now has come for you to sit back and enjoy my site. I really hope you enjoy it. If, for any reason you encounter any problems or believe that the site is lacking in some way, feel free to e-mail me and ill get back to you as soon as possible.</span></strong></h2> <h2 class="c3"></h2> <h2 class="c3"><strong><span class="c1">Thank you - Ricki Lambert - rickilambert@googlemail.com</span></strong></h2> </td> </tr> </table> </div> </body> </html> Similar TutorialsHello Everyone I've put together my very first forum and i admit, it hasn't been easy. But when going to these validation websites, i'm getting a ton of errors. I've searched and searched but with my inexperience, just can't figure out how to fix these errors. I don't even know the proper files to look in that are producing these errors. If you could help me, it would be a big relief. Thank You My Site - http://www.tbredjkie.co.cc I also get big error when browsing my site with IE8. Sometimes it crashes. Hi, I'm having a few problems viewing a page in Firefox and IE. It works fine in Safari at the moment. Can you point me in the right direction of what to do? I have run the W3C Validator through it and it has come up with a few errors. I would be grateful if you could breifly explain one or two of the errors? Error 1 and 2 for example? I tried altering the code but I could not get the correct result. Thanks in advance Tom http://www.website-test.net/what_new http://validator.w3.org/check?uri=ht...este_mennesker Alright, I'm really confused now. I'm getting some pretty strange errors when validating my page. If you want to look at actual ...the address is http://www.getthegirl101.com in case you want to see the validation yourself. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> Since when is element<meta> not allowed here? Since when is style element not allowed here? <style type="text/css"> Since when is body not allowed here? </style> </head> <body> </body> </html> Dynamicdrive.com is where I got my li'l css menu and they recommended using this doctype. What doctype should I try instead because this one is definitely not working?! hi friends I am looking for an online tool which will list all the class name that are referenced in a web page and aren't defined in a CSS. for eg: <div class="button"> but classname "button" is not defined anywhere in stylesheet. please suggest me any tool which can help me. thanks to all for ur time and effort. Hello all, i am new to html coding and i am working on an assignment for university. I have come across one problem that i don't know how to fix. I want to make a web page that when the user maximizes the screen size or is using a different sized screen the web pages components would stay consistently in one spot. We did a basic page when i was in high school and all we used were "div" 's in css sheets and they use a fixed position on a screen. i tried using percentage and not pixels when positioning the "div"'s but im not getting anywhere......could anyone give me advise or a link to a page that explains thanks in advance Hello again everyone: Thanks to those that help with advice regarding my drop-down box issue earlier. I'm posting this thread now because I have a couple different errors occuring on pages, and was wondering if anybody could help me to clear them up. Here are the error descriptions below: Line: 2 Char: 1 Error: Syntax error Code: 0 URL: main index page!!! (this error popped up upon loading site) Line: 12 Char: 81 Error: 'top.d.getElementById(...)' is null or not an object Code: 0 URL: main index page!!! (this error popped up upon loading site) Line: 37 Char: 1 Error: 'top.w.frames.0.length' is null or not an object Code: 0 URL: main index page!!! (this error popped up upon clicking enter link) My "main index page" is of course the very first page people see. This page is simply just a disclaimer statement, followed by a link to direct the visitor to the next page, or "home" page. When I mention "enter link" above, I am referring to this only link on the page...any ideas from anyone on how to get to the bottom of this one? Thanks... Hi, On IE I find 2 errors on a site I'm working on, not sure what to make of it? www.concilium.co.za/cms Can anyone give advice please? I have Validation Errors on my site. I dont know where to start looking for them. Could someone help please? :-D http://validator.w3.org/check?uri=ht...idator%2F1.654 I am a total noob so I will need quite a bit of help trying to correct the problems. The site was built with wordpress. I know how to use the basics of dreamweaver and crimson Editor if that helps. TIA Paul Dear guru, There have been some errors on my website www.mrdefinite.com but I just couldn't figure out where they come from. I have provided the error alerts as shown below. Can anyone please help me out? Your help is very much appreciated. Thanks! Best regards, Kenneth Lee Hey, I just ran my index page through W3C validation and i have a few errors which I'm not sure how to fix. If anyone can help out that would be appreciated. I have a form: HTML Code: <div id="newsletter"> <p>Sign up for our newsletter</p> <form action="http://somesite.com" method="post"> First name: <br /><input type="text" name="firstname" /> <br /> E-mail: <br /><input type="text" name="email" /> </form> </div> But w3c validator doesn't like any of the <br /> tags: Quote: document type does not allow element "br" here; I have placed <p> tags there instead, and i get no errors in the validator, but my inputs are too spaced apart. With the title before my form "First name" and "E-mail". w3c highlights the first letter in red saying: Quote: character data is not allowed here. How can i fix this? And last one. I have one image on my page I'm validating: Code: <img src="images/coffee_bar.jpg" alt="coffee bar" class="image" align="right"/> Validator: Quote: there is no attribute "align" Is there another way to write this?? Thanks for any help!! Can someone help me with my validation errors , it be drivingme up the head. line 25 column 17 - Warning: <td> proprietary attribute "background" line 71 column 3 - Warning: missing </table> line 331 column 15 - Warning: <tr> proprietary attribute "height" Any help would be appericated from birch. I've got 2 pages with in total 8 errors I can't get them fixed. Could someone please help me? first page: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.don.alaerts-work.be%2Faccount.php%3Fuser%3Dlisa&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1 &group=0&verbose=1&user-agent=W3C_Validator%2F1.2#line-81 and second page: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.don.alaerts-work.be%2Freageer.php%3Fuser%3Ddon%26id%3D40&charset=%28detect+automatically%29&doctype=Inline&ss=1& outline=1&group=0&verbose=1&user-agent=W3C_Validator%2F1.2 I've tried everything. All my other pages are valid except those 2. Kind regards & thanks in advantage, I am having one of those 'senior moments' again. please could someone take a look at http://www.telfordsteamrailway.co.uk...ers/exams.html I have used both W3C and Page Valet and both give 4 errors - 2 of them - width and height - yeah OK I need to do a bit more with the CSS. But the other 2 error have me baffled Quote: Line 59, Column 66: there is no attribute "name" . …/newstructure/members/exams.php" method="get" name="searchForm"> This is in a <form - there are 6 forms on this page, all with the same construct, but this is the only one that fails - it is also the only one with "get". I know'name' is deprecated on xhtml strict - but why is this th only one to fall over (i wii be adding 'id' - but like to hav e 'id' and 'name') Quote: Line 67, Column 45: there is no attribute "onClick" . …type="button" value="Search" onClick='submitActForm(document.searchForm, This is in an <input type="button" . There are 10 of these all with onClick - but this is the only one that fails - should that be 'onclick'? = but why is this the only one to fail? DUHH - I'm feeling a little thick this morning Advice appreciated Hello everyone, I'm new here and need a little help. I'm getting two errors on my validate and was hoping someone can see something I'm not seeing. I'm new to xhtml/html so any help I would be very grateful. Here are the two errors Code: Error Line 209, Column 33: document type does not allow element "ul" here; assuming missing "li" start-tag <ul class="children"> ✉ Error Line 248, Column 15: end tag for "li" omitted, but OMITTAG NO was specified </ol><!-- /end msgs-list --> ✉ You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". Info Line 209, Column 13: start tag was here <ul class="children"> and here is the code HTML Code: <ol class="msgs-list"> <li> <div class="msg-entry"> <div class="author"> <p><a href="#">Author Name</a></p> <p>Posted: 01-01-11<span class="sep">12:41</span></p> </div> <div class="msg-body"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div> </li> <ul class="children"> (LINE 209) <li> <div class="msg-entry"> <div class="author"> <p><a href="#">Author Name</a></p> <p>Posted: 01-01-11<span class="sep">12:41</span></p> </div> <div class="msg-body"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div> </li> </ul> <ul class="children"> <li> <div class="msg-entry"> <div class="author"> <p><a href="#">Author Name</a></p> <p>Posted: 01-01-11<span class="sep">12:41</span></p> </div> <div class="msg-body"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div> </li> </ul> <ul class="children"> <li> <div class="msg-entry"> <div class="author"> <p><a href="#">Author Name</a></p> <p>Posted: 01-01-11<span class="sep">12:41</span></p> </div> <div class="msg-body"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> </div> </div> </li> </ul> </ol><!-- /end msgs-list -->(LINE 248) Many thanks When I load my website, in the down left corner I got a message of Done, but with errors when checking the errors i get this descriptuion Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E) Timestamp: Wed, 4 May 2011 12:59:43 UTC Message: 'null' is null or not an object Line: 29 Char: 1474 Code: 0 URI: http://maps.gstatic.com/intl/en_us/m...3/4/12/main.js what's the problem? Hi guys, I have a html template I use a lot that I have been adding/removing bits for ages. The output (when viewed in a browser) is just what I need but I think the coding behind it may have become a bit messey. Ive tried to tidy the coding up a bit but im not very good with html tables and everything falls apart. If someone could have a look and remove anything that is not needed (coding)it would be very much appricated. Code: <TABLE align=center border=2> <TR vAlign=top> <TD colSpan=2> <CENTER><BR><FONT size=2><A href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=STRK:ME:UFS" target=_blank><IMG alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/Top.BargainLogo.gif" border=0></A> <BR><BR>Purchase With Confidence. <A href="http://feedback.ebay.co.uk/ws/eBayISAPI.dll?ViewFeedback&userid=top.bargain&ssPa geName=STRK:ME:UFS"><I>VIEW FEEDBACK.</I></A> A Trusted eBay Power Seller. <A href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain"><IMG src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/aboutme-small.gif" border=0> </A><p></CENTER></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Description:</B></TD> <TD rowSpan=6><IMG height=600 alt="Picture Name" src="URL" width=300> </TD></TR> <TR vAlign=top> <TD><BR> <UL><FONT size=2>DESCRIPTION <P> <LI> <LI> <LI> <P> </P> <LI> <LI> </UL></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Postage:</B> </P></TD></TR> <TR vAlign=top> <TD><BR> <UL> <LI><FONT size=2>Please Check Table At Bottom For UK Postal Rates <LI>Fast Delivery Via An Insured/Traceable Courier <LI>Please Click <A href="http://members.ebay.co.uk/ws/eBayISAPI.dll?ViewUserPage&userid=top.bargain" border="0"><IMG src="http://pics.ebaystatic.com/aw/pics/uk/aboutme-small.gif" border=0></A> For Full Details.</LI></UL></FONT></TD></TR> <TR vAlign=top> <TD> <P align=center><B>Payment Methods:</B> </P></TD></TR> <TR vAlign=top> <TD><BR> <P align=center><A href="http://www.paypal.co.uk/uk" target=_blank><IMG style="WIDTH: 253px; HEIGHT: 56px" height=52 alt=TopBargain src="http://www.topbargain.pwp.blueyonder.co.uk/images/Template/PaypalLogo.gif" width=253 border=0></A></P> <UL> <LI><FONT size=2><I>Bank Transfer. <LI>Money/Postal Orders and Cheques Accepted.<FONT color=white>.................. </FONT> <DIV></DIV></LI></UL></I></FONT></TD></TR></TABLE> <DIV></DIV></LI></UL></I></FONT></TD></TR></TABLE> Hey guys if you will take a look at my site i'm building http://www.atlanta-web.com I"m having funky issues with the layout in IE 7 haven't looked in 6. Please advise. I have recently seen the IE "Error on page" status popping up on my website http://www.bluchip.gg/home. The errors a Line: 322 Char: 7 Error: Expected ':' Code: 0 Line: 45 Char: 8 Error: Exception thrown and not caught Code: 0 Line: 206 Char: 37 Error: Unterminated string constant Code: 0 I'm using Dreamweaver CS3 and I've validated the page and everything is fine. I've looked through the code to find the places specified but all looks fine to me (probably looking in the wrong place! ). These errors come up on all my pages (I'm using a template so I think the errors are in that). Any ideas what is wrong? |