Need help with Validation |
Need help with Validation |
hafdis |
Mar 13 2007, 04:38 PM
Post
#1
|
Newbie Group: Members Posts: 18 Joined: 13-March 07 Member No.: 2,193 |
Hi all, i am from Iceland, nice forum you got here
Well, lets get started. I am working on my site http://www.koddinn.com using wordpress, when i enter the photo gallery i get this http://www.koddinn.com/myndir/ this is Validation Result i get http://validator.w3.org/check?uri=http%3A%...com%2Fmyndir%2F lets take error nr 15. CODE # Error Line 259, column 6: end tag for "div" omitted, but OMITTAG NO was specified . </body> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". how would this line be fixed ? can someone explain to me, "how" i can fix this. thx This post has been edited by hafdis: Mar 13 2007, 05:11 PM |
Darin McGrew |
Mar 16 2007, 04:52 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Looking at the report from our validator, I don't see any reports of unclosed DIV elements. I do see a lot of paragraph (P) elements inside link (A) elements, which is not allowed. Actually, the paragraph (P) elements are inside link (A) elements which are inside heading (H4) elements, and you can't put paragraphs inside heading elements either.
|
pandy |
Mar 16 2007, 05:28 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
OK, I've figured it out, I think. You are only allowed tor read this post if you promise to fix all the validation errors.
That DIV on line 38 - it's supposed to wrap the whole lot. So place the closing tag last, just before the closing body tag. The menu is floated left. That doesn't do any good because it comes after the content in the code and it's locked in in the content column. Cut the whole navigation thing out, that's all between <div class="navigation"> and the footer div, and paste it in at the top of the div with the call 'main'. Now you keep your part of the deal. We'll be checking! |
Lo-Fi Version | Time is now: 18th April 2024 - 06:25 PM |