View Full Version : HTML Validation
vance
11-Sep-2004, 08:46 AM
The html produced by Developer V7 does not pass W3C HTML validation.
Goto http://validator.w3.org/ to check your site.
Mine seems to fall over. See www.bathrooms365.com (still under development)
Any comment appreciated.
Email vgr at vhsholdings dot com
Ta.
darrentickle
11-Sep-2004, 09:28 AM
Hi Vance
I would first add a doc type to you html. Just having a quick look at your code I would use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">, if you go for XHTML you would have to do quite a bit of work.
I hope this helps a bit.
Cheers
Darren
vance
11-Sep-2004, 10:11 AM
Thanks Darren - had to amend the doc declaration a bit as some of the css styling went ballistic. Used:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
I know that the W3C will fail due to redefing the scroll bar etc.
Something seems to have gone really wrong now - there are white gaps between the menu buttons & the blue table cell (top right) has jumped down.
I can't seem to see what's gone wrong here.
Help anyone???
darrentickle
11-Sep-2004, 10:20 AM
Hi
Just looked at your site in Fire Fox and it look fine apart from you left navigation colour doesn't fill the table cells. I also look at the site on IE and I see you problem. I would put the HTML doc type in your templates and run the validator against each page as this well be easier to debug then trial and error. I would also take a orgianal copy of your pages before making any of the changes just incase. I have had a whole issue of these types of problems in the past.
I hope this help a bit.
Cheers
Darren
vance
11-Sep-2004, 10:30 AM
Thanks again Darren - I think I've found the answer.
If you uncheck the Design / Option / Compact HTML/CGI it places extra line breaks in the code. Checking the option removed them.
Simple eh - but frustrating as I've spent so much time looking at the problem.
Thanks again.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.