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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:22:51+00:00 2026-06-04T17:22:51+00:00

I have a css element that has rounded edges and a border on one

  • 0

I have a css element that has rounded edges and a border on one side, when I change the side the border & rounded edges are on, it refuses to update the absolute position of a child element and I have no idea why? I have tested this on the 2.3 android browser & Google Chrome, both exhibit the same problem. The strange thing is, when I right click and go ‘Inspect Element’ in google chrome, It updates the position, and snaps the absolute element correctly to the right????

I am very confused by this, here is a jsfiddle link, any ideas how I can fix this?
http://jsfiddle.net/yhT5n/1/

Origonal source:

Html:

<div id="page" class="side_a">
    <div class="absl">&nbsp;</div>
</div>​

Css:

#page{
    margin:30px;
    position:relative;
    display:block;
    width:100px;
    height:150px;
    background-color:gray;
    z-index:10003;
    -webkit-transition-property: width, height;  
    -webkit-transition-duration: 0.5s;
    border-radius: 15px;-moz-border-radius: 15px;    
    border-width:3px;
    border-top-style:none;
    border-right-style:none;
    border-bottom-style:none;
    border-left-style:none;
    border-color:#000;
}

#page.side_a{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right-style:dashed;    
}
#page.side_b{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left-style:dashed;
}
.absl{
    position:absolute;
    right:0px;
    top:20px;
    width:20px;
    height:20px;
    background:red;
}

​JS:

$('#page').live('click', function() {
    $(this).removeClass('side_a').addClass('side_b');
});​
  • 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-04T17:22:52+00:00Added an answer on June 4, 2026 at 5:22 pm

    This is a bug in Chrome. Forcing the page to redraw (by zooming, or any other method) shows the red box in the right place.

    I am not aware of any workaround for this, unfortunately.

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

Sidebar

Related Questions

I have a div under my body element. It has that background CSS: -moz-linear-gradient(center
I have a page that contains an element (a TextBox) that has two CSS
I have an element that is using -moz-resize CSS style. This style enables resizing
I have one element which is styled by two css documents: 1. ul[editable=yes] li
I have an element, which has the following CSS: .elem { left: 0; position:
I have a parent element that has dynamic text in it that needs to
I have a div that has the following css: position: fixed; height: 100%; left:
I have an element in my document that has a background color and image
I have a div element that has an id and this div contains a
I have a CSS button that has normal, pressed and hover states. Everything works

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.