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

  • Home
  • SEARCH
  • 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 6874363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:11:07+00:00 2026-05-27T04:11:07+00:00

I was wondering how to make a button like this: http://i43.tinypic.com/e21b7.png The main problem,

  • 0

I was wondering how to make a button like this:

http://i43.tinypic.com/e21b7.png

The main problem, is NOT a problem. Although, I am not sure how to make it with a custom image at the right, as well as that nice border. (CSS)

Can someone help me?

Kindest Regards

  • 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-27T04:11:08+00:00Added an answer on May 27, 2026 at 4:11 am

    Why aren’t I working? You can use this example to see how you might do it. Don’t just use this code – It’s a little big, not particularly efficient, and has only been tested in webkit. This could be a disaster in IE, Opera, Firefox, who knows. You’d need to use CSSPie and more vendor prefixes to get this more browser compliant, and that might be a distaster in itself. It’s a lot of code for a button.

    At any rate, you can get the idea of how it’s done from this.

    jsfiddle

    Code:

    html

    <div id="btn">
        <p>200 <span>cr</span></p>
        <span class="plus">+</span>
    </div>
    

    css

    html {
        height: 100%;
        font-family: sans-serif;
    }
    
    body {
        height: 100%;
        color: #fff;
        background: #505050;
        background-attachment: fixed;
        background: -webkit-gradient(linear, top, bottom, from(#09465d), to(#0f536e));
        background: -webkit-linear-gradient( 90deg, #09465d, #0f536e);
        background: -moz-linear-gradient(    90deg, #09465d, #0f536e);
        background: linear-gradient(         90deg, #09465d, #0f536e);
    }
    
    #btn {
        font-size: 13px;
        text-shadow: 0 -1px 0 rgba(0,0,0,.9);
        margin: 20px;
        background: -webkit-gradient(linear, top, bottom, from(#1d4763), to(#215f86));
        background: -webkit-linear-gradient( 90deg, #1d4763, #215f86);
        background: -moz-linear-gradient(    90deg, #1d4763, #215f86);
        background: linear-gradient(         90deg, #1d4763, #215f86);
        overflow: hidden;
        display: inline-table;
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 3px rgba(0, 0, 0, 0.8);
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 3px rgba(0, 0, 0, 0.8);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 3px rgba(0, 0, 0, 0.8);
        border-radius: 3px;
        cursor: pointer;
    }
    
    #btn:hover {
        background: -webkit-gradient(linear, top, bottom, from(#19405a), to(#1d587d));
        background: -webkit-linear-gradient( 90deg, #19405a, #1d587d);
        background: -moz-linear-gradient(    90deg, #19405a, #1d587d);
        background: linear-gradient(         90deg, #19405a, #1d587d);
        -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 3px rgba(0, 0, 0, 0.9);
        -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 3px rgba(0, 0, 0, 0.9);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 3px rgba(0, 0, 0, 0.9);
        border-radius: 3px;
    }
    
    #btn:active {
        background: -webkit-gradient(linear, top, bottom, from(#19405a), to(#1d587d));
        background: -webkit-linear-gradient( 90deg, #19405a, #1d587d);
        background: -moz-linear-gradient(    90deg, #19405a, #1d587d);
        background: linear-gradient(         90deg, #19405a, #1d587d);
        -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .15), inset 0 1px 0 rgba(0, 0, 0, .25), 0 1px 1px rgba(0, 0, 0, 0.6);
        -moz-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .15), inset 0 1px 0 rgba(0, 0, 0, .25), 0 1px 1px rgba(0, 0, 0, 0.6);
        box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .15), inset 0 1px 0 rgba(0, 0, 0, .25), 0 1px 1px rgba(0, 0, 0, 0.6);
        border-radius: 3px;
    }
        #btn p, span, p span {
            height: 30px;
            line-height: 30px;
            display: inline-block;
            margin: 0;
        }
    
        #btn p {
            padding: 0 12px;
            border-right: 1px solid rgba(0,0,0,.1);
        }
    
        #btn span.plus {
            padding: 0 12px;
            font-size: 16px;
            font-weight: bold;
            border-left: 1px solid rgba(255,255,255,.1);
        }
    
        #btn p span {
            font-size: 10px;
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am wondering whether you can make a button, function like a HTML Radio
I'm wondering how to make a button or input field in Interface Builder react
I'm wondering how to make a window transparent, not cutout holes or the same
i was wondering how do i do this? I wish to make a tableview
In my app, I'd like to make the context menu of a button appear
I am wondering the best way to solve this problem. I have a datatable
I was wondering if there is a way to make a radio button select
I'm wondering how to make a release build that includes all necessary DLL files
Just wondering how I can make my app open automatically at login, but make
was wondering if there is a way to make superfish using jquery ui theme

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.