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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:22:17+00:00 2026-05-26T22:22:17+00:00

I have two pictures on top of each other: Here is the code: <div

  • 0

I have two pictures on top of each other:

enter image description here

Here is the code:

<div class="picture">
         <span class="name"><br/><a  href="profile.php">Pavadinimas</a></span>
         <div class="picture-content">
              <div class="icons">
                   <div class="ico-info"><img src="images/product_mark_1.png" />
                        <span class="ico-info">Automatinis mechanizmas</span>
                   </div>
                   <div class="ico-info"><img class="ico-info" src="images/product_mark_2.png" />
                        <span class="ico-info">Miegamas mechanizmas</span>
                   </div>
                   <div class="ico-info"><img src="images/product_mark_3.png" /><br/>
                       <span class="info">Spyruoklės</span>
                </div>  
             </div>
             <div class="picture-grey"><img alt="" src="images/grey.png" />
             </div>
        </div>
             <div class="picture-photo"><img alt="" src="images/pic.png" />
                    <div class="description1">
                    Ilgis/Plotis/Aukštis
                    </div>
                    <div class="description2">
                    Ilgis/Plotis
                    </div>
                    <div class="description3">
                    300/300/300
                    </div>
                    <div class="description4">
                    miegamoji dalis 100/100
                   </div>
            </div>
</div>

I want the image at the top to be with rounded corners like this:

enter image description here

My css classes is:

.picture{ 
    position:relative; 
    width:400px; 
    height:200px;
    float:left;
    margin-left:48px;
    margin-right:35px;
    margin-bottom:90px;
    margin-top:10px;
}

.picture-content{ 
    position:absolute; 
    bottom:0px; 
    width:360px; 
    height:211px;
}

.picture-grey{
    position:absolute; 
    bottom:-65px; 
    left:15px; 
    height:243px;
    width:407px; 
    float:left;
}

.picture-photo{
    position:absolute; 
    width:380px; 
    height:223px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
    top:0px; left:0px; 
}

But unfortunately rounded corners is not working at all! Why not? Is there some issue I don’t know?

  • 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-26T22:22:18+00:00Added an answer on May 26, 2026 at 10:22 pm

    This is a old problem with firefox (and probably a few other browsers as well); it didn’t crop the images until the latest firefox version:

    Firefox -moz-border-radius won't crop out image?

    Just out of curiosity, can you try the following?:

    .picture{ 
    position:relative; 
    width:462px; 
    height:305px;
    margin:0px;
    padding:0px;
    background:url('https://i.stack.imgur.com/w0mOg.png') no-repeat; 
    background-position:50% 50%;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
    }
    
    <div class="picture"></div>
    

    I have the latest version of firefox so I can’t check if it works on older versions as well, but it would make sense if it did. Firefox has been able to crop divs for quite some time.

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

Sidebar

Related Questions

I have two QDialogs stacked on top of each other, with some data is
In my application, I have two swing components on top of each other, that
I have Two tables. 1.Users table (Username , Name) 2.Picture table( ID , Username
I have two Image controls on each other and I set the alpha channel
I have 3 divs floating next to each other in a containing div. The
How to automatically switch the background in layout android:background=@drawable/image> I have two pictures I
When Using UIPickerController I have two choices on my App: take a picture take
I have two classes (MVC view model) which inherits from one abstract base class.
I have a div that i want to apply two backgrounds to it. Basically
I have two divs with borders as the picture below shows. How do I

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.