Recent Entries

Creating and modifying plugins.
Post Reply
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Recent Entries

Post by Col. Kurtz » Thu Jul 07, 2005 1:46 am

I have a problem with the "Recent Entries" Plugin. There is an extra line between the title and date of the lastest entry. If I add a new entry, this happens only with the newest. Any suggestions?

Image

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Recent Entries

Post by garvinhicking » Thu Jul 07, 2005 4:56 pm

Hm...seems to me like a CSS issue...maybe you can inspect your HTML sourcecode and look at the CSS classes used in that container.

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/

Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

Post by Col. Kurtz » Thu Jul 07, 2005 5:08 pm


User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Thu Jul 07, 2005 5:15 pm

The problem is you're wrapping your sidebar container inside a <p> element and then have another <div class="serendipitySideBarDate">. This nesting is not allowed.

Try to not use <p> but <div> instead, then the error should go away. Use some EditCSS debugging and CSS introspection by putting borders around all kinds of element to spot those kind of trouble. :)

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/

Post Reply