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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:23:33+00:00 2026-05-25T00:23:33+00:00

I am trying to create input text like below Image : First I used

  • 0

I am trying to create input text like below Image :

enter image description here

First I used CSS3 with some help like this fiddle . because of problems with old browsers I reached to don’t use CSS3.
Now I coded like this :

input[type=text]
{
    color: #979797;
    height: 28px;
    padding-left: 10px;
    text-decoration: none;
        background-image: url('Pictures/Input-BG.png');
    background-repeat: repeat-x;

}
   <input id="txtScrictAddress" value="Your Adress (required)" type="text" />

Input-BG.png is this image :

enter image description here

and here is the result.

  1. Did I slice input image right ?
  2. Input has a left border color , How should style the input in css like the image?
  • 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-25T00:23:34+00:00Added an answer on May 25, 2026 at 12:23 am

    You just need to set a border radius and border to none. And edit your image so the dark thing is on the left side also.

    input[type=text]
    {
        color: #979797;
        height: 28px;
        padding-left: 10px;
        text-decoration: none;
        background-image: url('https://i.stack.imgur.com/pbpVI.png');
        background-repeat: repeat-x;
        border-radius: 5px; /*up to date browsers support this, but you can add prefixes if you want*/
    
        border: 0;
    }
    

    http://jsfiddle.net/TGzng/8/

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

Sidebar

Related Questions

I'm trying to create some OS X like text inputs for my website. They've
I am trying to create a text input field that converts the input text
I am trying to create a search text-field like on the Apple website .
I've been trying to create some php code that would let me take input
I'm trying to create an input form similar to a text message. I have
Im trying to create a method that take 2 int array as the input
I'm trying to create a form that based on the users input would determine
Trying to create my first iPhone app that would play back audio. When I
My Perl program takes some text from a disk file as input, wraps it
I am trying to scrape form field IDs using Beautiful Soup like this for

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.