Closed (fixed)
Project:
Javascript Tools
Version:
master
Component:
Tabs
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
23 Jul 2007 at 19:19 UTC
Updated:
26 Nov 2007 at 01:11 UTC
Jump to comment: Most recent file
Hi,
I've created a panel, and in IE7 the comments appears outside of the Panel (snap1).
The comment is created inside a Tab (Tabs module), however I think it is a Panel issue.
In FF2 the panel looks ok.
Here is a temporary link to my sandbox.
Amitai
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | tabs_iefix.patch | 1.3 KB | robloach |
| #11 | Untitled_3.jpg | 43.92 KB | robloach |
| #5 | Snap1_7.png | 10.11 KB | amitaibu |
| Snap1_6.png | 19.26 KB | amitaibu |
Comments
Comment #1
amitaibuIt seems as a tab issue (not a panels one)...
Comment #2
nedjoLooks to be a theme-specific CSS issue in tab presentation. In the screenshot, the text area presumably has a negative indent or some similar setting.
Comment #3
amitaibuI actually didn't put any specific CSS there. Also if you will click the tabs, you will see something wrong is happening there
I can provide you an admin user for my sandbox, if you would like.
Cheers,
Amitai
Comment #4
nedjoI don't have IE7.
Please try in e.g. Bluemarine. Does it display correctly? If so, the problem is a CSS issue in one or more themes.
Comment #5
amitaibuYou are right, I've switched to Bluemarine and the 'Comments' appear properly.
However, If you click on the different tabs they are shifted to the right (snap1)
Comment #6
nathanraft commentedThis shifting problem is caused by the ul.secondary class in either system.css or style.css (depending on theme). See Bluemarine to see where it gets stuck - no ul.secondary so it uses system.css.
Change the bottom padding to >1.5em. This makes the necessary room in IE to fix the problem.
*remember that when working with garland you will need to go to the theme config page and save it to see changes.
Comment #7
nathanraft commentedAlso.. if using tabs with cck and on load it pushes up too much messing up the display under the tab add a couple of em to the .fragment class in tabs.css. Cleans it up nicely in IE.
Comment #8
amitaibuI've Changed in Tabs.CCS, under .fragment - margin-top:20px;
(Using Zen theme)
Comment #9
(not verified) commentedComment #10
robloachThis problem still persists... IE7 renders the content to the right of the tabs.
Comment #11
robloachHere's a screenshot of the undesired effect.
Comment #12
robloachHere's a patch to fix the issue.
Comment #13
nedjoThanks. Looks good, but I'd prefer not to patch the files that came with the tabs plugin. Can we put the css in drupal-tabs.css instead? That is, is it okay for this to apply in all browsers?
Comment #14
robloachYes, it is okay to apply this to all browsers, but in Safari and Firefox it will move the content down further than you want it to. This is only a fix for IE, so it should go into Tab's tabs-ie.css. This file already exists, and doesn't do IE7 justice. Adding:
To the IE CSS fixes resolves it.
Comment #15
nedjoThanks, that makes sense.
Comment #16
robloachFixed in HEAD and in DRUPAL-5.
Comment #17
xstevex commentedThanks a lot for the patch.
I had the same problem in IE6 (only IE I checked) and the patch totally fixed it.
Steve.
Comment #18
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.