Validator Error

Found a bug? Tell us!!
Post Reply
Blake_Ivey
Regular
Posts: 36
Joined: Wed Dec 22, 2004 5:50 pm
Location: Georgia
Contact:

Validator Error

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Validator Error

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Blake_Ivey
Regular
Posts: 36
Joined: Wed Dec 22, 2004 5:50 pm
Location: Georgia
Contact:

Post 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!
Blake_Ivey
Regular
Posts: 36
Joined: Wed Dec 22, 2004 5:50 pm
Location: Georgia
Contact:

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Blake_Ivey
Regular
Posts: 36
Joined: Wed Dec 22, 2004 5:50 pm
Location: Georgia
Contact:

Post 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!
Post Reply