Searching for mainpane table padding? Not in style.css.

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

Searching for mainpane table padding? Not in style.css.

Post by Guest » Fri Dec 16, 2005 8:50 am

I'm getting along well with embeding a blog into my site using index.tpl and style.css except for one issue.

It seems that the mainpane table has 1px of padding so that there is a persistant border around the entire table and I cannot track it down. I don't want any padding. I hope this is clear.

Can anyone help me to find where this padding is coming from? Most appreciated.

Thanks much.

Guest

Post by Guest » Fri Dec 16, 2005 9:00 am

I think I should have said "cell spacing" for it seems the spaces surround both the content cell and sidebar cells. I should hae also explained I am using the default theme. Thanks again.

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

Post by garvinhicking » Fri Dec 16, 2005 9:45 am

Our #mainpane table doesn't contain any "cellspacing", so that shouldn't be it.

Look inside the style.css, the #mainpane has a 1px solid border around the table, I guess that's what you're having problems with.

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/

Guest

Post by Guest » Fri Dec 16, 2005 12:41 pm

I figured it out garvinhicking. I added ...

border-collapse: collapse;

... to #mainpane in the css sheet. Looks llike it was just borders.

Thanks for the timely reply.

Post Reply