Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7163725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:57:03+00:00 2026-05-28T13:57:03+00:00

I have some nav elements positioned with transform: rotate() and box-shadow . When you

  • 0

I have some nav elements positioned with transform: rotate() and box-shadow. When you hover them they ‘pop out’ a little bit to indicate you can click on them. In Chrome and Safari (indicating this is a webkit issue) when you hover some of the nav items the box shadows go haywire and cover up portions of other random elements. It works fine in Firefox.

I made a jsfiddle portraying the issue as simply as I could figure out how to:

http://jsfiddle.net/Q39eJ/1/

Hover over and then out of the first one or 2 elements and you’ll see the issue in action.

The site I’m working on has the issue here:

http://temp.go-for-english.com/

(URL will soon change to http://www.go-for-english.com if this one doesn’t work)

If anyone can figure out a work-around that still utilizes CSS3 to make it look normal (Maybe set the z-index again on the hovers, or some other weird workaround that I’m not sure about) I’d greatly appreciate it 🙂 I’d really rather not resort to images 🙁

UPDATE:

I’ve been informed it looks fine on Windows Chrome =\ I’m using Mac OSX 10.6, here’s a screenshot of the behavior I see:

http://s9.photobucket.com/albums/a74/nZifnab/?action=view&current=Screenshot2012-01-19at13205PM.png

My client has also pointed out the issue because they use Safari.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:57:03+00:00Added an answer on May 28, 2026 at 1:57 pm

    I figured out a bit of a work-around that mostly works. Found this stackoverflow question: How can I force WebKit to redraw/repaint to propagate style changes? related to forcing a repaint of elements using javascript. So I updated my fiddle with this code to force a repaint of the elements with box shadows:

    $(function() {
        $('.top-nav a').hover(function() {
            redrawMe($('.top-nav a'));
        })
    });
    
    function redrawMe(obj) {
        obj.hide();
        obj.each(function() {
            this.offsetHeight;
        });
        obj.show();
    }
    

    I tried only redrawing the element that was being hovered redrawMe($(this)); but it didn’t work, when any of them gets hovered, I need to redraw all of them. Appears to mostly do the trick but there’s still some darker shadows that appear in the cracks between each element. I feel that this is acceptable and barely noticeable. jsfiddle with my proof of concept:

    http://jsfiddle.net/nzifnab/Q39eJ/4/

    Haven’t updated that live site with it yet, but shall soon.

    If anyone can manage to find a way to make even the shadows between each element disappear I’ll accept your answer instead 🙂

    Again, this may only be happening on MacOS X in both chrome, and safari.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some ASP.NET web services which all share a common helper class they
I have some classes layed out like this class A { public virtual void
I am experiencing some issues developing with html5 elements (NAV,SECTION,ARTICLE, etc) under IE8 and
I have an ajax call in jQuery loading some elements into a div. The
I need some help positioning two nav elements (2 and 3) in a subheader
I have some UI in VB 2005 that looks great in XP Style, but
I have some code for starting a thread on the .NET CF 2.0: ThreadStart
We have some input data that sometimes appears with &nbsp characters on the end.
I have some C# / asp.net code I inherited which has a textbox which
I have some code like this in a winforms app I was writing to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.