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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T10:18:59+00:00 2026-06-06T10:18:59+00:00

I have two divs which should looks like one figure. The problem is with

  • 0

I have two divs which should looks like one figure. The problem is with the border of the circular block. See pic. below. css were added below

input and output needed

#nameWidgeteMain {
  width: 279px;
  height: 400px;
  top: 0px;
  position: absolute;
  background-color: rgb(237,237,237);
  border: 1px solid #dbe0e3;
  box-shadow: 0 0 20px rgba(0,0,0,0.08)
}
.nameWidgeteCloseArea {
  position: absolute;
  width: 22px;
  height: 31px;
  top: 7px;
  left: 270px;
  background-color: rgb(237,237,237);
  color: white;
  border: 1px solid #dbe0e3;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  text-align: center;
}

#nameWidgeteCloseTitle {
  padding-top: 5px;
  left: auto;
  font-family: sans-serif;
  font-size: 12pt;
  color: rgb(158, 158, 158);
}
  • 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-06T10:19:02+00:00Added an answer on June 6, 2026 at 10:19 am

    Maybe try something like this: http://jsfiddle.net/VNAZA/

    Uses two divs: one with just the border, which gets layered under the rectangle and another with the actual content, layering over the rectangle. This way you can also apply css box-shadow to the lower div.

    .container{
            position:relative;
            width: 50px;
            height: 150px;
        }
        
        .rect{
            position:absolute;
            width: 50px;
            height: 150px;
            background: #eee;
            border: 1px solid #000;
            z-index: 5;
            -webkit-box-shadow: 2px 2px 10px 2px #cccccc;
            box-shadow: 2px 2px 10px 2px #cccccc;
        }
        
        .round_content{
            position: absolute;
            top: 50px;
            right: -25px;
            width: 50px;
            line-height: 50px;
            background: #eee;
            z-index: 6;
            text-align:center;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
        }
        
        .round_border{
            position: absolute;
            top: 49px;
            right: -26px;
            width: 52px;
            height: 50px;
            line-height: 52px;
            border: 1px solid #000;
            z-index: 4;
            text-align: center;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            border-radius: 10px;
            -webkit-box-shadow: 2px 2px 10px 2px #cccccc;
            box-shadow: 2px 2px 10px 2px #cccccc;
        }
        <div class="container"> 
          <div class="rect"></div>
          <div class="round_content">x</div>
          <div class="round_border"></div>
        </div>

    ​

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

Sidebar

Related Questions

http://jsfiddle.net/pC6fC/1/ I have two divs, one above the other. When the first animates, which
I have a page which has DIVs which contain short phrases (one-two words) of
I have a main div which contains two divs. One for main content and
here is my problem. I have a div which contains two other divs :
Please see this fiddle . Essentially, I have two divs which have float: left;
I have two divs. I would like to move/populate the text from div id
i have two divs one floated to the left and the other to the
i have two divs with the same ids but one has display=none and the
On my web page I have two divs, A and B: The DOM looks
I have two divs which I need to show the opposite upon click. You

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.