Page 1 of 1

Freetag plugin causes a huge gap in entry

Posted: Sat Sep 15, 2007 11:46 pm
by Borup
I'm having some problems with the freetag plugin. It causes a huge gap in my entry, right between the meta under the entry itself (author, comments etc.) and the defined tags for the entry.

See what I mean: http://blog.brianborup.dk/archives/117- ... a-SDU.html
(its in danish, but you can still find the gap. It is right before the comments section)

My template is a modified version of Greenway template, and there doesn't seem to be problems with other templates. Also, the gap only seems to be visible in Firefox.

Can somebody please help me figure out what the problem is? :(

Posted: Sun Sep 16, 2007 12:02 am
by Borup
Ok, this is weird.

It seems the gap doesn't appear in all of the entries, and the size of the gap seems vary from entry to entry.

Posted: Sun Sep 16, 2007 12:17 pm
by Borup
Ok, I seem to have fixed it now.

It was caused by the 'clear:both' element ind the style sheet.

So I just replaced the old .serendipity_freetag code with this

.serendipity_freeTag {
overflow: hidden;
width: 100%;
}

I found it here: http://www.quirksmode.org/css/clearing.html

It seems to work, and I have not found any visible sideeffects.