Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-03-31 13:19:14

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Other than < p > destroys sidebar in IE

While fiddling with mdp_calendar (which is actually great and certainly not part of the problem) I found out that placement of anything else than < p > within the < li >…< /li > in the sidebar destroys sidebar layout in IE. All content below the item moves down, out of sight. Firefox and Opera show no problem. It is really annoying and I have no idea how to solve it. Any help directing me to a solution would be very much appreciated.

I set up an example with an img (see below header ‘TEST’ on my site ). Please see for yourselves.
Thanks in advance!

Offline

#2 2006-03-31 13:56:13

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Other than < p > destroys sidebar in IE

Well, that’s probably because, the headers itself are enclosed inside as list Items, that shouldn’t really be that way.
So the correct order should be
<code><h3>your sidebarheader</h3>
<ul><li><p>some paragraph or whatever</p></li>
<li>next list Item</li>
</ul></code>

I dont’ know how the code was generated, but if a plugin does so, then I would go and change the plugin code, so it doesn’t do that.

regards, marios

Last edited by marios (2006-03-31 13:57:58)


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2006-03-31 14:06:27

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: Other than < p > destroys sidebar in IE

Sounded plausible, changed it, didn’t solve the problem.
Thanks for your help though.

Offline

#4 2006-03-31 14:07:29

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Other than < p > destroys sidebar in IE

1. Why are you using an unordered list in the sidebar? Using headers and paragraphs should be enough…

2. Ypur #page is 600px wide, the margin-left on your #sidebar is 451px and you have a padding-right of 12px in #sidebar. The image you’re displaying is 141px wide, while the width that’s left inside #sidebar is 600 – 451 – 12 = 137px. So IE pushes it all downwards. (I think this is a box model thing…)


Prrrrrrrr

Offline

#5 2006-03-31 14:24:03

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: Other than < p > destroys sidebar in IE

1. Don’t know. This is how it came out of the box. I’ll try to change that later.
2. You’re right. Seems I miscalculated things. A smaller image corrects the issue. Thank you!

So the table created by mdp-calendar is too wide. I will try to make it narrower. Thanks again.

Offline

Board footer

Powered by FluxBB