Leaf theme, static page and table

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply

Leaf theme, static page and table

Post by teto23 » Tue Aug 23, 2005 3:14 pm

Hi all,

I'm using leaf theme, very nice, and static-page plugin. But if in static_page content I insert a table the visualization get bad.

See at http://test.stefanocislaghi.it/index.ph ... culum.html

It's a css problem? Seems that table is not top aligned...



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

Re: Leaf theme, static page and table

Post by garvinhicking » Tue Aug 23, 2005 3:20 pm

If you look at your HTML code you can see that there are loads of "<br />"s inside your table. Those all get added up in front of the table, thus the spacing you see.

To bypass this, you can:

1. Disable markup transformations for your static page, so that newlines do not get converted to those br's.


2. Remove the NL2BR Plugin to never convert those spacings


3. Paste your table HTML code without any linebreak, so that no br's can get added. You can use your editor's replace command to replace all "\n" with "".

# 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