Closed (won't fix)
Project:
AdaptiveTheme
Version:
7.x-2.x-dev
Component:
CSS/HTML
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2012 at 20:35 UTC
Updated:
9 Apr 2012 at 14:31 UTC
Is there a good reason that all blocks are set:
.block {
position: relative;
}
You can run into overlay problems if you do that globally.
Example:
Float the #logo left and then float some stuff inside the .region-header to the left too (in my case i did that with the search fields).
As a result the .region-header area will overlap the #logo and so clicking on the (logo not click able) tag will no longer work.
I wanted to mention that because its not abnormal that people float stuff inside their header. But maybe there is a special reason for position:relative, just curious.
I set .block back to, static, problem fixed, no other problems.
Comments
Comment #1
Jeff Burnz commentedBy memory the only reason this was set was to ease RTL in some browsers. Then I just left it there, however I see no immediate reason why we cannot take this out apart from maintaining backwards compatibility (some might be relying on this).
I know it causes issues, it was always a trade off between actually getting RTL to work properly in IE without out including an IE conditional stylesheet. The issues were always minor and easily worked around.
I have to think about it and test some, I will keep it in mind however I do not see this as a major problem, given the theme has 20 thousand users and I get complaints about this almost never.
Comment #2
Jeff Burnz commentedGonna update the title so I remember what this is actually about :)
BTW, thanks for the issues e-anima, its very good to have someone posting ideas and constructive feedback.
Comment #3
Jeff Burnz commentedRevamping my categories.
Comment #4
marcoka commentedsome additional note on what i discovered. somehow after setting position:relative to position:static...the contextual links are broken and will only appear on the top right corner (only for contextual links for blocks).
Comment #5
Jeff Burnz commentedThat is because you are explicitly declaring position static and overriding contextual links module which needs it.
Comment #6
marcoka commentedi dont have problems anymore/since then. so i would say fixed. reopen it you disagree.