Page 1 of 1

HTML nugget (sidebar) alignment problem

Posted: Fri Mar 30, 2007 12:31 am
by islander843
Hi -

I'm setting up a fresh install, and am having problems with the alignment of HTML nuggets in my sidebar. The title of each nugget displays nicely, but there's a huge blank space between my titles and the nuggets (which are small HTML tables.) I've been battling it all afternoon, and just can't seem to figure out what I'm doing wrong. I'm hoping somebody will be kind enough to take a look at it and perhaps tell me how to correct the problem. Here's my install...

http://www.qoverh.com/blog

Any feedback will be greatly appreciated.

Thanks!!

Posted: Fri Mar 30, 2007 5:23 am
by judebert
No problem. You use the nl2br plugin, and you tried to enter a table with formatting.

The nl2br plugin turns the end-of-line (\n, newline, or return, depending on whether you're a programmer, MS-DOS weenie, or over 35) to an HTML <br /> tag. You entered the tables with tags on separate lines; at the end of each line is an end-of-line character; therefore your HTML has extra <br /> tags. You can use your browser's "View Source" capability to see for yourself.

To fix it, either remove the nl2br plugin (which will change your entries), or configure your nl2br plugin: from the admin page, choose "Configure Plugins", click the nl2br plugin, select "No" for "Apply markup to HTML Nugget", and click Save.

Posted: Fri Mar 30, 2007 3:44 pm
by islander843
Thank you, judebert! Worked like a charm.