This is a discussion on "Help validating" within the Web Page Design section. This forum, and the thread "Help validating are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Help validating
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
Help validating
Hi
I can't seem to workout these errors. Unless I have made some new ones today, this should make the site 100% valid. Cheers http://www.capoeiracanal.co.uk/capoe...ol-contact.php Last edited by Oak; Feb 4th, 2008 at 09:12. |
|
|
|
#2
|
|||
|
|||
|
Re: Help validating
Hi Oak.
These errors you are getting tend to come from a thing nicknamed the domino effect. You have forgotten to close a tag somewhere along the way (usually a </div>) which causes these so called 4 errors in the validator when you actually have one. It can take time for you to see where this tag is missing, but it good to learn and how to spot errors in your html without me doing it for you. Hope this Helps, Ed EDIT: With these errors, it usually is the first error you need to refer to. In this case, it was correct. Quote:
Last Blog Entry: Happy New Year! (Dec 31st, 2007)
|
|
#3
|
|||
|
|||
|
Re: Help validating
Use a strict doctype:
Cheers...
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#4
|
||||
|
||||
|
Re: Help validating
Ok thanks,
The div in red solved the problem. Can you please explain the code bellow, how come there are two divs next to each other with no content inside? This validates, but to me and my very little knowledge in html, it seems wrong.
|
|
#5
|
||||
|
||||
|
Re: Help validating
Quote:
Cheers |
|
#6
|
|||
|
|||
|
Re: Help validating
Looking at your code you needed to extra div to either close the div called
main container or the one called capoeira-canal-classes-banner. You should try to add in comments after each closing div to say which div you are closing. Helps to keep track. |
|
#7
|
||||
|
||||
|
Re: Help validating
Brilliant!
|
|
#8
|
||||
|
||||
|
Re: Help validating
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
#9
|
||||
|
||||
|
Re: Help validating
Hey Jack, that looks like a nice & easy bit of PHP for updating Navigation of <ul><li>.
I was experiencing those same hassles you mention in your news letter! I did know about leaving notes for divs, now my site is growing the is more of a need for them. |
|
#10
|
|||
|
|||
|
Re: Help validating
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
#11
|
||||
|
||||
|
Re: Help validating
Doctypes are almost like mean teachers - they mark what you code and give you grief for any mistakes. The Strict Doctype is like the head teacher, double nasty, whilst the transitional sometimes lets you off
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
#12
|
||||
|
||||
|
Re: Help validating
Ah.. ok, down to the head masters office it is for me then.
Thanks all! |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| validating username | sudhakararaog | PHP Forum | 0 | May 27th, 2008 17:50 |
| Worth validating with JS as well as php? | djeyewater | PHP Forum | 6 | Mar 27th, 2008 13:03 |
| Validating target | Lchad | Web Page Design | 16 | Jan 18th, 2007 13:36 |
| validating xhtml with ' ' | rocket468 | Web Page Design | 3 | Dec 31st, 2006 05:38 |
| validating site and other seo | rocket468 | Job Opportunities | 8 | Aug 26th, 2006 09:53 |