With zen-fixed 5.x-0.6 if I put something like the following in my main content area, there is no padding between the image and the text. E.g. instead of floating right with a little bit of breathing room on the left, the image winds up smushed right up against the text. Even weirder, if the main content area has local task tabs then initially the left hand padding appears correctly, but then when you wave the cursor over the local task tabs the image suddenly jumps to the left!

Here is example problematic content:
----------

Only local images are allowed.
This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.

----------------------------

The problem seems go away if I modify the #squeeze element in layout.css and comment out "position:relative".

I don't see any ill effects with this modification. You can check out my drupal site here, maybe there is some subtle problem with it now that I haven't noticed?

What is the "position:relative" supposed to do?

Comments

cailinanne’s picture

Sorry, my example content didn't show up properly. Let me try that again


< img style="float:right; padding-left:20px;" src="blah blah" />
This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text.

cailinanne’s picture

I also forgot to mention that this is only an IE7 issue.

johnalbin’s picture

Status: Active » Postponed (maintainer needs more info)

Do you experience this problem with the more recent 5.x-1.x-dev version?

cailinanne’s picture

I do not have the more recent 5.x-1.x.dev version installed.

johnalbin’s picture

Status: Postponed (maintainer needs more info) » Fixed

"position: relative" Makes any absolutely positioned item inside #squeeze to have coordinates relative to the inside corners of #squeeze. So we need to retain that property.

We're not fixing any issues for 5.x-0.6. The CSS has changed significantly in 0.7, so perhaps this issue is already fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.