The View and Edit buttons (AKA tabs) disappear in IE7 if the node title is sufficiently long and the window is the right width. The screenshot shows the behavior as the window width is increased.

This problem is not seen in IE8, Firefox 3, Safari 4, or Opera 9.6. I did not test IE6.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

threexk’s picture

Also occurs in D5.

threexk’s picture

Also occurs with IE6.

tic2000’s picture

Status: Active » Needs review
FileSize
831 bytes
819 bytes

Patches for D7 and D6.
Can you try them out? I don't have ie7. Only 6, and it seems to fix the problem (I used D7 to test).

threexk’s picture

Status: Needs review » Reviewed & tested by the community

Tested both D7 and D6 patches and they work.

Made the same modifications in D5 and it seemed to fix the problem on my sites without ill effect.

tic2000’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
686 bytes

An alternative solution for D7 so we don't touch other browsers.
When/if a backport will be made we can talk about what solution to use in D6.

threexk’s picture

Status: Needs work » Reviewed & tested by the community

I have tested patches -v2 and -v2-d6 in IE6, IE7, IE8, Firefox 3, and Safari 4 without problems.

Patch -v3 does not seem to work for HEAD and IE7. I favor the -v2 patch anyway, though, because it is better to use the same CSS for every browser and not have browser-specific CSS when possible. (Of course changing CSS that affects every browser gives the change a larger scope.)

Setting this back to RTBC since my opinion is that the -v2 patch is the way to go, and it works. Feel free to overrule.

Stefan Nagtegaal’s picture

Status: Needs review » Needs work

Why do you decrease the vertical padding?? It doesn't make sense that the float is fixed with that..

I do understand that the display: inline-block; could fix things up, but still I'm wondering what your reasons are to decrease the padding on the top.

tic2000’s picture

Because when inline-block is set tabs moves down a little. On all browsers. So I decrease the padding to move everything back.

tic2000’s picture

Some images to prove my point. And now that I did this, I thing I should change the bottom padding too.

tic2000’s picture

On second thougt, I should not obses about getting the same result to pixel and just solve the bug.

tic2000’s picture

Status: Reviewed & tested by the community » Needs work
FileSize
662 bytes

A patch without padding change.

threexk’s picture

Status: Needs work » Reviewed & tested by the community

Tested -v4 in IE6, IE7, IE8, Firefox 3, and Safari 4. The few-pixels shift of the tabs looks fine to me.

webchick’s picture

Version: 7.x-dev » 6.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Committed to HEAD. Thanks!

Marking down to 6.x for consideration.

threexk’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

Patch in #11 is for D6 and has been tested. It causes the tabs to move by a few pixels, as with D7. In my opinion, (1) the appearance of the tabs is still fine, and (2) disappearing tabs are worse than the tabs being moved by a few pixels.

Gábor Hojtsy’s picture

Version: 6.x-dev » 5.x-dev

Thanks, committed to Drupal 6. As per comments above, also applies to Drupal 5.

drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 5.x.

Status: Fixed » Closed (fixed)

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