Column Problem in Leaf Theme

Having trouble installing serendipity?
Post Reply
siringo
Regular
Posts: 92
Joined: Fri Jul 28, 2006 5:39 am
Location: Australia
Contact:

Column Problem in Leaf Theme

Post by siringo »

I'm using the Leaf theme and have a problem I have seen with lots of themes.

In IE the right hand column sits under (but still in the right hand column location) the comments and posts, but in Firefox it is perfect.

How can I fix this so it displays properly in IE?

Here's a URL - http://radio.10gallons.com/blog/

Thanks in advance.
Thanks,

Matt.
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

The problem comes about because IE6 and earlier versions have a bug (actually MS would dispute that) where an extra few pixels are added to the padding of divs, its called the box-model bug. The way to fix this is to reduce the content column by a few pixels so that everything fits side by side again in IE, but then of course Firefox and Opera will show extra spacing between the columns.

The solution then comes down to providing two stylesheets, or adding specific IE only styles to your index.tpl or within the styles.css. Unfortunately I don't have the leaf template on my machine so I can't tell you what to change right now.

Hope it helps anyway,

Carl
siringo
Regular
Posts: 92
Joined: Fri Jul 28, 2006 5:39 am
Location: Australia
Contact:

Post by siringo »

Thanks for your help Carl, much appreciated.
Thanks,

Matt.
Post Reply