Page 1 of 1

Validator Error

Posted: Wed Apr 12, 2006 11:01 am
by Blake_Ivey
My site is screwed up when viewed from IE (Firefox works fine). I am using 1.0beta2, well, was, but I upgraded to the new nightly release to see if it was fixed. my reular blog uses beta1 and looks fine in IE.

I did a validation test and it responded with:

Target: http://korea.blakeivey.com

Code: Select all

Please, validate your XML document first!

Line 117

Column 70

The element type "h3" must be terminated by the matching end-tag "</h3>". 
My buddy took a look at the source code and said that "every time you have a date header <h3 class="serendipity_date">, it is being closed with </div> instead of </h3>

How can I fix that? Its really annoying since my family and friends mostly use IE (they hate trying new software!). I dont know where to find that error inside of serendipity.

If you want to check the error, go to http://korea.blakeivey.com.

Re: Validator Error

Posted: Wed Apr 12, 2006 11:38 am
by garvinhicking
Hi!

The error actually "just" comes from your template. You are right with the "</div>" assumption.

Just edit the entries.tpl of your Kamouflage template and search for that <h3> part. I also committed that fix to CVS!

Regards,
Garvin

Posted: Wed Apr 12, 2006 11:47 am
by Blake_Ivey
Thanks Garvin. I wasn't sure if it was in the core or template so i posted in Bugs and Themes. Thanks for the fast response!

Posted: Wed Apr 12, 2006 11:55 am
by Blake_Ivey
The entries.tpl isnt what I expected it to be...I just see about of scripting type language. No html tags to really fix...

Any ideas?

Posted: Wed Apr 12, 2006 12:04 pm
by garvinhicking
Hi Blake!

There should be HTML tags in that file! Which editor are you using? I think David saved the files in MAC format, so you might need to convert to UNIX/WINDOWS linebreaks first before you see everything better?

Regards,
Garvin

Posted: Wed Apr 12, 2006 12:07 pm
by Blake_Ivey
Ahh, I got it. Sorry about that. I was using cPanel to just "show" the file. After clicking edit, I see the html. SOrry about that!