Closed (duplicate)
Project:
Zen
Version:
5.x-0.6
Component:
IE Problems
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2007 at 17:04 UTC
Updated:
2 Oct 2007 at 06:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
kdebaas commentedOops... left out information: The content only flows under the left sidebar, on certain form pages, such as when creating content.
Comment #2
jjeff commentedDo you happen to know if this is new behavior? In other words, is this a new install for you, or have you recently upgraded Zen and this behavior has just appeared?
I'm sure there's a more lucid way to ask that question, but I can't figure it out right now. :-)
Comment #3
alanburke commentedHi There
I think this behaviour is related to this issue
http://drupal.org/node/101305
See my comment
#14
for a quick and easy solution
Let us know if that works
Later
Alan
Comment #4
kdebaas commentedIt's basically a new install, and first impressions. That is, new Zen, and upgrade to Drupal 5.0. I had Zen installed before, but never got around to open it in Internet Explorer. I installed fckeditor, which is why I was testing to see how it looks in Internet Explorer. Disabling the fckeditor does not make the problem go away, unfortunately...
I've attached a new screenshot, where I scroll down the submit story page. The log message form seems to extend out oddly.
When I switch to the Bluemarine theme, all seems well. Back in Zen, I have (up until now) not encountered the problem elsewhere, apart from on the submit Story, Book, Page, etc... pages.
Aaah, scrap that, the content of the Themes page also flips underneath the left sidebar. Significant difference though is that it only does it when I resize the browser window to a dimension that it finds too narrow. In the case of the Submit Story, the content (or should I say main column) is under the sidebar always, no matter how wide I set the browser window.
Hope this helps.
Comment #5
jjeff commentedStill narrowing it down. My guess, based on Alan's pointer to http://drupal.org/node/101305 is that you'll have this same problem with the Garland theme. If that is true, I'll know where to look for the solution.
Comment #6
kdebaas commentedI switched to Garland, and it didn't misplace the middle column. I applied Alan's fix anyway, and yes, in Zen that did solve the problem. I will look into the things again tomorrow, to see if I can actually understand what it was all about. (it's getting late on my side of the atlantic) Thanks for your prompt answers.
Comment #7
kdebaas commentedOkay, another screenshot before bed...
This is a screen shot of the submit story page, before adapting the textarea.js.
Comment #8
tcaduto commentedHi,
I just did a new install of Drupal 5.0 today and used the Zen Theme.
I put a new menu called main menu and added a item called "Contact Us" which of course
links to the built in side wide contact form. When users in Internet Exploder (explorer :-) click it the Contact form does
indeed appear below any blocks on the left hand side.
It's basically a stock install with the addition of the TinyMCE editor and the IMCE module.
Comment #9
bryansd commentedJust to let everyone know, I'm also seeing this problem in IE7. Though, I can't remember if I saw it earlier in the day. After some sleep, I may play with this...
Comment #10
bryansd commentedDisregard...I should have read about the problem with textarea.js in http://drupal.org/node/101305 . Time to go to bed...
Comment #11
jjeff commentedWell I guess the next step would be to figure out if/how this problem was fixed in the Garland theme and apply that fix over here.
Anyone have energy for that?
Comment #12
bryansd commentedJeff,
I grabbed my laptop where I still keep IE6 and found that the textarea for the comments also floated left in not only Zen but also Garland. I'm not so sure everything in Garland looks perfect either.
Back to Zen, I'm seeing a lot of problems with Zen in IE6. Part of the issue is when the right sidebar begins to max toward 210 px (for the fluid). I had an adsense ad at 200x200 px and the right sidebar shifted left and below the the left sidebar. I observed this in IE6 but not IE7 or Firefox. Perhaps some readjustments to the layout.css is in order.
Comment #13
kdebaas commentedBryanSD,
as far as I can see, the only column that should be fluid in zen is the middle column. That means that the width of the sidebars remain constant at 210px, no matter how wide your browser viewport is. However, in IE6/win, when you have (unbreakable) content inside your sidebar that is wider, instead of sticking out of its side, the sidebar will miraculously expand to incorporate that content. This may cause it the sidebar itself to be too wide to fit inside the space alongside the main content area, causing it to drop below.
In your case (I am guessing) the adsense ad of 200px wide + the padding of the sidebar-right .block of 15px = 215px. So indeed, it wouldn't surprise me if that makes the sidebar drop. Let me know if I have misinterpreted your post.
See IE6: expanding box on oversize content for more info. At the moment I have not been able to find the time to go on digging into the zen css, let alone find elegant solutions. But in your case it might be that the best thing to do is to either resize the sidebar, or you adsense ad.
Comment #14
kdebaas commentedOkay, finally figured out the reason why the textarea in Garland doesn't drop under the left sidebar as it does in Zen:
As described in the article "IE inherited margin bug: form elements and hasLayout", the bug is that .
The fix in the javascript file textarea.js simply wraps a
spanelement around the form input element, that has no "layout", so there is nothing to inherit for the form input element inside.It took me a while to "see" it, but lo and behold, the simple answer is that in Garland, the resizable textareas ARE ALREADY wrapped in a
spanelement.Compare the source for the form-item in Garland:
with the one for ZEN:
Now, what to do? Wait for the patch for textarea.js to be committed? Or fix Zen itself? I haven't learned how to create patches yet...
Comment #15
bryansd commentedReply to #14. My vote would be to include the patch in Zen as we can't control when/if the textarea.js patch gets committed. What do others think?
Comment #16
harriska2 commentedI applied the patch to both of my new drupal 5 new installs and neither worked for zen. The main admin menu still drops under the left sidebar.
Comment #17
larrychu commentedSubscribing
Comment #18
wolken commentedIn my case, my right sidebar went under de main content on certain pages. I tried several suggestions given here, but with no luck. This applies for IE6 only.
Now it seems I have found a solution that works for me. In page.tpl.php I added a clear-block to the squeeze div.
<div id="main" class="column"><div id="squeeze" class="clear-block">And everything stays where it shoud!
Comment #19
bryansd commentedWolken's fix in #18 appears to not only fixed the problems listed here, but also most of the complaints found under http://drupal.org/node/110902 . I tested this under Zen 5.x-0.6, but did not test against the latest -dev (CVS) version. I also verified in both IE6/IE7. Can other confirm the fix and any side effects against other browsers?
Comment #20
harriska2 commentedYes, #18 fixed the dropping of sections of the administration blocks.
Comment #21
bryansd commentedPatch for wolken's #18 solution. Verified to work in Zen 5.x-0.6. This is my first patch for Drupal so someone needs to verify the patch just as much as the fix. Should also fix issue found at: http://drupal.org/node/110902 .
Bryan
Comment #22
mmeawad commentedI've tried everything that you guys suggested here and no luck here is a link to our site: http://www.copticmission.org/ it works fine in firefox but in i.e. 6 the right menu gets shifted to the botton left of the page. Any help is very appreciated
Comment #23
add1sun commentedMarking this as dup of http://drupal.org/node/89656 so any further issues not solved here can continue there.
As a wrap up:
The actual issue for the OP is solved by this core patch: http://drupal.org/node/101305, which has now gone into HEAD and 5 dev so as soon as 5.2 gets released (which should be soon) this will be solved by upgrading to 5.2.
Regarding the right sidebar getting dropped, that is a totally different issue and you can go here http://drupal.org/node/121606 for more on that. This does need to be fixed in zen ie hacks though and the issue for that is here http://drupal.org/node/141784
Comment #24
mattjabs commentedIf you have the event module installed, try editing the event.module file to change the display of the days of the week from 3 digits to 2 digits...that worked for me.
In any instance in the file (each appears 4 times, change all 4), where you see Mon, Tue, Wed, Thu, Fri, Sat, Sun...change them to Mo, Tu, We, Th, Fr, Sat, Sun respectively & you won't have the menu items shifting around anymore.
--
Matthew Jabs