Hi, So I have a messy coded page, huh who doesn't...So any way I run for example this page through the checker. http://www.learn-how-to-weld.com/mig-welding.html Checker is here: http://validator.w3.org/ And it spits out like 30 errors and 13 warnings. I want to fix this all up! So I see there is the option to clean up Markup with HTML Tidy tool. Once this has been cleaned up and assuming I will do this to every page. Is the output code reliable? I seem to think from memory it would make my navigation bar go to the bottom of the page instead of the left hand side. And I just checked now and it did it again. Can some one please give me some tips and help and maybe run the cleaned code and try it in their web editor please. I'd like to fix the messy code all up. Cheers, Peter Australia
You should correct the errors by hand - 30 errors should be very easy to fix. Most of the errors are simply links that use & instead of &. This is something you should learn to fix yourself. Do not pay someone else to do it, do not use an online 'code fixer' to do it. Learn valid HTML, and fix it yourself Your site is VERY close to valid, and you'll learn something by fixing it yourself, and seeing where the mistakes are. Get the HTML validator plugin for Firefox, it's a great tool for fixing your validation errors: http://users.skynet.be/mgueury/mozilla/ Cleaning up code is easier than welding
As much as I hate to aggree on not using a code checker, you are right. I will see how I go then let you know, Thanks. PEter
This is crazy Okay this part: <div class="main-table" align="center"> Says line 28 column 3 - Warning: missing </div> Where is the </div> supposed to go then? at the end? Peter
May be wrong on this but sometimes, isn't it the case that say on a page that appears to have a whole load of errors theres not literally that amount of errors? Like fixing one error can tidy up a huge portion of it and its sometimes a few errors throwing things out so it shows it to look a whole lot worse (error wise) than it is?
>>line 28 column 3 - Warning: missing </div> It is not that the </div> is in the wrong place, it means you are missing an </div>, which you still are. Currently, the following DIV is not closed out properly: <div class="cse-branding-bottom" style="background-color:#FFFFFF;color:#000000"> Missing ending DIV's are often passable in Firefox, Safari, and Chrome, but can cause you serious problems with the layout in older version of IE. <style> tags go in the head section. Regards, ~Ken
that's easy. since you are using HTML 4.01 as doc type, you must remove also self enclosing tags that causes errors. As said above, most other errors are due to & which should be converted to ampersand tag (&