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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:53:59+00:00 2026-06-13T01:53:59+00:00

I read once how to create cross-browser rounded buttons with shadow using images, I

  • 0

I read once how to create cross-browser rounded buttons with shadow using images, I lost my bookmarks unfortunately that’s why I ask does anybody remember the technique.

There is left side picture i.e

enter image description here

And then very wide body image which ends up with right curved border/shadow like this :

enter image description here

So at the end you end up with one button which can be used with multiple sizes? I was googling this, but it seems noways everyone use css without images.

Does anybody knows how this technique is called or can refer me to the link? or give me code example, I’d appreciate any of those

  • 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-13T01:54:00+00:00Added an answer on June 13, 2026 at 1:54 am

    This technique is a variation of the “Sliding Doors” technique:

    • http://www.alistapart.com/articles/slidingdoors/
    • http://css-tricks.com/snippets/css/perfect-css-sprite-sliding-doors-button/
    • http://azadcreative.com/2009/03/bulletproof-css-sliding-doors/

    Basically you use markup like this:

    <button><span>Text</span></button>
    

    Then style the span with the edge image to the side, overlapping the main background image of the parent element. Something like this:

    button {
        background:url(main-image.png) top right no-repeat;
        border:0;
        padding:0;
        width:80px;  /* with only 1 "door", you might need to set a width */
        /* other resets may be necessary */
    }
    span {
        background:url(left-door.png) left top no-repeat;
    }
    button, span {
        height:37px; /* height of your sprite */
        display:block;
    }​
    

    Demo: http://jsfiddle.net/Kqs3m/

    Your results may vary depending on your sprites and the natural width of the content.

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

Sidebar

Related Questions

While using the errno , I once read words that It is important to
This is one of those things that you read once, say aha! and then
Once I read in a statement that The language feature that sealed the deal
Once I read an MSDN article that encouraged the following programming paradigm (its not
I have to create an app that will read in some info from a
i needed to create a program that would read a text file and count
I recall once seeing a clever way of using iterators to read an entire
I once read, that it is not wise to change the display name of
I once read a tutorial about how to create a new form and make
does anybody know of a secure 'read-once' local file access system? Or how one

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.