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:
----------
![]()
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
Comment #1
cailinanne commentedSorry, 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.
Comment #2
cailinanne commentedI also forgot to mention that this is only an IE7 issue.
Comment #3
johnalbinDo you experience this problem with the more recent 5.x-1.x-dev version?
Comment #4
cailinanne commentedI do not have the more recent 5.x-1.x.dev version installed.
Comment #5
johnalbin"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.
Comment #6
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.