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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:44:50+00:00 2026-06-04T19:44:50+00:00

I have to create an input box with the following background So far in

  • 0

I have to create an input box with the following background

enter image description here

So far in my code I have the code below and its not showing -> What would be the correct procedure to do this?

I also have a couple of variations of this button I have to produce and they are the following:

  • A cross on the dark area of the button – I was just going to use a <span> tag with a class and set the graphic to that -> Would this be a good way to go?

  • A paper clip icon just after the curve on the left -> I was going to do the same as above -> Would this be a good way to go?

HTML:

<div class="innerTo">
        <form action="#" method="get">
           <label for="recipients">TO: </label>
              <input type="search" name="recipients" id="recipients" placeholder="Recipients Names">
    </form>
    </div>

CSS:

.innerBar .innerTo{
    width:200px;
    padding:5px 0 0 15px;
    display:block;
    float:left;
}
.innerBar .innerTo label{
    margin:0 15px 0 0;
    font-size:14px;
    font-weight:bold;
    color:#666666;
}
.innerBar .innerTo input[type=search] {
    color: red;
}
.innerBar .recipients{
    background-image:url('../images/searchBGpng.png') no-repeat;
    width:192px;
    height:27px;
}
  • 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-04T19:44:53+00:00Added an answer on June 4, 2026 at 7:44 pm

    Fiddled:

    <div class="input-container">
        <input type="text" value="aaaaaaaaaaaaaaaaaa"/>
    </div>
    
    .input-container {
        background: url(https://i.stack.imgur.com/0Vlc5.png) no-repeat;
        width:197px;
        height:28px;
    }
    .input-container input{
        height:28px;
        line-height:28px;/*results in nice text vertical alignment*/
        border:none;
        background:transparent;
        padding:0 10px;/*don't start input text directly from the edge*/
        width:148px;/*full width - grey on the side - 2*10px padding*/
    }
    

    If you’re planning to reuse it with different widths, you should look up the sliding doors technique.

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

Sidebar

Related Questions

I have the following code: <h2>Add System</h2> <?php echo $this->Form->create('ReleaseServer'); echo $this->Form->input('server_name',array('error'=>array( 0 =>
I have the following HTML code, which essentially copies a textarea box, including its
i have the following code int arr[5]; printf(Input values:); for (i=0;i<5;i++) scanf(%d,&arr[i]); pthread_create(&thread1, NULL,
I'm really confused. I have the following html in a form: <input class=check-box id=Data__Correct
i am trying to create an input box like below These are the rules
Have the following code which (resides in a dialog box) and serves as an
I need to create a video from text input. I have successfully generated image
I want to create a dynamic select input (dropdown menu) from JSON. I have
I have created a add input field function which is working fine. I would
I have created button 2 below: <input id=Button1 type=button value=Stop onclick=alert('hello world');/> <input id=Button2

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.