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%2F%2Fwww.koddinn.com%2Fmyndir%2F
lets take error nr 15.
Hi!
Then close it, dear hafdis, dear hafdis. Then close it, dear haftis. Dear haftis, close it! *pandy singing in his most beautiful voice*
The validator marks the last spot where the DIV that starts on line 38 must be closed. Top of the browser here.
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A//www.koddinn.com/myndir/&warnings=yes&input=yes#L38
Let me say that I love your country. I visted there for a summer in my youth and have wanted to move there ever since.
It's best to start fixing errors from the top, often that makes subsequent ones go away in the process. The first one is a warning on line 73 that you haven't encoded the & character in the URL, see http://htmlhelp.com/tools/validator/problems.html.en#amp next comes an error on line 77 since P elements are not allowed inside links.
ok,......... where can i find it, i have search in every file
ok, done with this, now its line 77
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.koddinn.com%2Fmyndir%2F
this is line 77
<a href='http://www.koddinn.com/myndir/album/vestmannaeyjar/'><p>Vestmannaeyjar
78 </p>
what does it mean with <p> how do i fix this
I've been there! It was hot under the feet.
"document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag "
That means you have nested a block level element, P, inside an inline element, A. Inline elements can't contain block level elements. Instead of saying that straight out the validator lists elements that can be contained in inline element and can in their turn contain block level elements. They can function both as inline and block level.
http://htmlhelp.com/reference/html40/inline.html
Now, the validator doesn't suggest you put one of those elements in. It just points out that the code would have been valid if you had used one of them.
See?
Hi............... again
Can you masters here located div tag that i have to close, i cant find it, so i can get my sidebar on right place.
It seems like you have closed it now.
http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A//www.koddinn.com/myndir/&warnings=yes&input=yes#L38
Judging form the class name it's supposed to be wrapped around other content, not be just empty as it is now.
Looking at http://www.htmlhelp.com/cgi-bin/validate.cgi?url=http%3A%2F%2Fwww.koddinn.com%2Fmyndir%2F&warnings=yes, 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.
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!
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)