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 8903449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:52:23+00:00 2026-06-15T01:52:23+00:00

View this jsFiddle in a WebKit-based browser like Chrome or Safari and then compare

  • 0

View this jsFiddle in a WebKit-based browser like Chrome or Safari and then compare it to what you see when you view it in a non-webkit based browser like Firefox or Internet Explorer.

You will see that they’re obviously not the same. Below is Chrome on the left and Firefox on the right:Image comparing non-webkit and webkits interpretation of percentage distances.

The reason for this is that the fallowing small CSS markup is interpreted differently by WebKit compared to how every other browser interprets it:

span.upArrow.menu{
    margin: 36.1% 0 0 12.5%;
}

More exactly: WebKit interprets 36.1% not as 36.1% of the page width but rather 36.1% of the element width or height.

The reason for using percentages in the first place is because the site scales up and down depending on the scale of the screen. This piece of code is for the menu. So the site as it is now looks fine if you use the default browser on an Android or iPhone. But there’s a huge ugly triangle in the middle of the content on a Windows phone or if the user uses Opera or Firefox.

So my question then becomes. Is there any way to work around this bug in WebKit?

If it’s possible one could write separate markup for webkit and non-webkit browsers. But perhaps even better would be to find a solution which works in both cases.

  • 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-06-15T01:52:25+00:00Added an answer on June 15, 2026 at 1:52 am

    Take a look at this fork.

    I’ve changed the approach slightly, setting the menu items to position: relative and positioning your arrows rather than adding a margin to achieve the layout.

    Here’s the updated CSS (remove the additional div and span from the selectors, they aren’t necessary):

    .menuButton{
        display: inline-block;
        width: 32%;
        padding: 2% 0;
        position: relative;
    }
    
    .upArrow.menu{
        bottom: 0;
        left: 50%;
        margin-left: -15px;   
    }
    

    The negative margin matches the border width of your arrow, ensuring it will always be in the exact centre whatever else happens with your layout.

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

Sidebar

Related Questions

I'm having trouble with this graphic in Chrome 16 and Safari 5 Desktop: http://jsfiddle.net/D7ERH/embedded/result/
Please see this http://jsfiddle.net/yv8uw/1/ When you click View all Comments the box opens up
I've set up an example which illustrates my issue: http://jsfiddle.net/XZeYK/5/ If you view this
Firstly could you view my outcome http://jsfiddle.net/RXnKR/ From this I decided as you click
I'm looking for suggestions for debugging... If you view this site in Firefox or
I have a view like this in my Flex mobile Application: <s:View xmlns:fx=http://ns.adobe.com/mxml/2009 xmlns:s=library://ns.adobe.com/flex/spark
View demo here: http://jsfiddle.net/55H7U/26/ Play video in firefox, when CSS overflow attribute is changed
Take a look at this jsFiddle Code also listed below: window.MyView = Backbone.View.extend({ ticks:
This view works well with IE9 and Chrome. However, not with IE8. When the
Well I'm stumped with this one. As you can see if you view this

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.