Recent Topics

1 Jun 04, 2006 03:41    

I'm having 100+ errors when I validate my blog.

Some of the main erros are repeated. And here are some of them:

document type does not allow element "a" here; missing one of "object", "span", "bdo", "applet", "iframe", "tt", "i", "b", "u", "s", "strike", "big", "small", "font", "em", "strong", "dfn", "code", "q", "samp", "kbd", "var", "cite", "abbr", "acronym", "sub", "sup", "label", "ins", "del" start-tag

<a href="http://www.xikita.com/" target="_blank">Xikita [>]</a><br />

And:

end tag for element "a" which is not open
...&pb=1" /><strong>About me</strong></a></li>

I'll list more comon errors as soon as you help me with those ones first ;)

What I'm trying to understand is why these errors are happening and how I make them to validate properly... Thanks for your help :)

2 Jun 04, 2006 08:16

Change your links to look like this :-


<div class="bSideItem">
<h5>Blogs I visit</h5>
<ul class="neatList">
<li><a href="http://ablog.com" target="_blank">A blog</a></li>
<li><a href="http://ablog.com" target="_blank">A blog</a></li>
<li><a href="http://ablog.com" target="_blank">A blog</a></li>
<li><a href="http://ablog.com" target="_blank">A blog</a></li>
<li><a href="http://ablog.com" target="_blank">A blog</a></li>
<li><a href="http://www.xikita.com/" target="_blank">Xikita [>]</a></li>
</ul>
</div>

And then add this to your css :-


.neatList, .neatList li{
margin:0;
padding:0;
list-style:none;
}

Nando wrote:

end tag for element "a" which is not open
...&pb=1" /><strong>About me</strong></a></li>

Remove the red bit ;)

¥

3 Jun 04, 2006 14:57

Ok, thanks it worked :)

Now the main problem I'm getting now is with the Flickr badge I use.

Here are some errors:

Line 148, column 88: cannot generate system identifier for general entity "count" .

...kr.com/badge_code_v2.gne?show_name=1&count=5&display=random&size=t&layout=h&s

Line 148, column 88: general entity "count" not defined and no default entity .
...kr.com/badge_code_v2.gne?show_name=1&count=5&display=random&size=t&layout=h&s

And many more erros within the flick badge code. For the complete list of errors you could try to validate this link http://nando.myacen.com/blog so you can have a better idea ;)

Thanks

4 Jun 04, 2006 15:23

Well, your Flickr codes are just using '&' and not '&amp;" so I don't think you can do much about that.

Re your Header <h1>

<h1 id="pageTitle"><a href="http://nando.myacen.com/blog/"><img src="http://nando.myacen.com/bloglogo.jpg" alt="A Bittersweet Life" title="A Bittersweet Life" /></a>


You don't close the <h1> until way down past all the spaghetti table crap you have for Flickr. It should be right after the </a></h1>. You have it here...

<!-- End of Flickr Badge -->



</h1>

If you use Firefox I suggest you get the extension [URL=http://users.skynet.be/mgueury/mozilla/]HTML Validator[/URL]
It's very good at removing the lint :)

5 Jun 04, 2006 16:20

John wrote:

Well, your Flickr codes are just using '&' and not '@amp," so I don't think you can do much about that.

Um... that should be &amp; right?

How are these flickery links getting into your blog? Does flickr automagically send them to you, or do you manually add them yourself? If flickr automagically sends them to you then it will be easiest to ignore the errors - and possibly tell flickr their code sucks. If you add them yourself then you simple look for &s in the URL and replace them with &amp;s

6 Jun 04, 2006 16:37

Um... that should be &amp; right?

I'm blaming the red wine :oops:

7 Jun 04, 2006 16:43

ahhh, the trusty old red wine excuse ;)

¥

8 Jun 04, 2006 16:55

ahhh, the trusty old red wine excuse

and the two key words are... trusty and excuse, in that order

9 Jun 04, 2006 17:57

EdB wrote:

How are these flickery links getting into your blog? Does flickr automagically send them to you, or do you manually add them yourself? If flickr automagically sends them to you then it will be easiest to ignore the errors - and possibly tell flickr their code sucks. If you add them yourself then you simple look for &s in the URL and replace them with &amp;s

Yeah well, I guess it's their code that sucks! :P


Form is loading...