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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:42:08+00:00 2026-05-30T21:42:08+00:00

I believe there may be a bug in chrome’s rendering of border colors. Here

  • 0

I believe there may be a bug in chrome’s rendering of border colors. Here is the setup:

  1. Create an element (I have seen it on div’s as well as td’s, both position:static and position:absolute).
  2. Make this object more than twice as tall as it is wide
  3. Assign a different color border to each side.
  4. Specify a border-radius for rounded corners.

The end result is that a the middle portion of the left edge takes on border-right-color instead of border-left-color. Specifically, if w is the width of the object, then the top w pixels and the bottom w pixels are correct, but the middle (h – 2w) pixels are colored incorrectly.

Here is a snippet of code and a screenshot demonstrating the issue.

<!doctype html>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<html>
  <head>
    <style>
      div#borderBug
      {
        position:absolute;
        top:10px;
        left:10px;
        width:152px;
        height:541px;
      
        border-width: 2px;
        border-style: solid;
        border-radius: 20px;
      
        border-left-color: blue;
        border-top-color: yellow;
        border-right-color: red;
        border-bottom-color: green;

        background-color: #dedede;
      }
    </style>
  </head>
  <body>
    <div id="borderBug"></div>
  </body>
</html>

Incorrect Left Border in Chrome

My version of Chrome is 17.0.963.56 m, running on Windows XP. I do not see the issue in Safari, Firefox, or IE8.

Can anyone confirm if this is a known issue, or does anyone know of a standard workaround?

The best workaround I can think of is using an image for the border, but I have not yet been able to test this and see whether it suffers from the same bug.

Another (ugly) option might be to place another HTML Element of the correct color on top of the offending section of border.

  • 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-30T21:42:10+00:00Added an answer on May 30, 2026 at 9:42 pm

    Confirmed known issue:

    Issue 106028
    merged into Issue 113726

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

Sidebar

Related Questions

I can't believe I'm asking this but, is there any way to get Chrome
I have been debugging a particularly insidious bug which I now believe to be
Although there are a lot of posts about .net config files, I believe that
All, there are many question on the above topic but I believe this is
In the UK throughout the 80's and 90's (70's too I believe!) there was
Here's the output. These are utf-8 strings I believe... some of these can be
I have previously asked two questions Question 1 and Question 2 but there is
Let me illustrate this with an example. Consider there are 10 books (there may
I've been searching everywhere and I've come to believe that there is no way
I believe I've set this up correctly. Can somebody see anything wrong with 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.