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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:21:49+00:00 2026-06-15T23:21:49+00:00

I have 2 textboxes (one above another) and I want to remove the gap

  • 0

I have 2 textboxes (one above another) and I want to remove the gap inbetween both of them. I want to achieve the look of the textboxes in this
dribble

html

<div id="User-Details">
    <input type="text" class="textbox-top" id="name" value="Name" />
    <input type="text" class="textbox-bottom" id="email" value="Email" />
</div>

css

#User-Details input
{
    padding: 5px;
    color: #999
}

.textbox-top{
    border: 1px solid #aaa;
    border-bottom: none;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.textbox-bottom{
    border: 1px solid #aaa;
    border-top: none;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
  • 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-15T23:21:51+00:00Added an answer on June 15, 2026 at 11:21 pm

    Try it like this, it’s pretty easy

    Demo

    HTML

    <div>
        <input type="text" placeholder="Username" /><br>
        <input type="text" placeholder="Password" />
    </div>
    

    CSS

    div {
        position: relative;
        height: 80px;
        width: 300px;
        margin: 20px;
    }
    
    input[type=text] {
        padding: 5px;
        border: 1px solid #eeeeee;
    }
    
    input[type=text]:nth-child(1) {
        border-bottom: 0;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page with a vertical set of textboxes. If one of them
I have one group of 3 asp.net textboxes and one group of 2 asp.net
I have 25 textboxes. I have one button that will paste information in a
This is my problem, I have one textbox, one button and one label. Everything
I have 2 textBox and 1 button! I want to insert text to one
I have multiple textboxes and dropdown lists within my GridView. For one particular textbox
I have a program whereby Data is being sent from one computer to another
This one is a bit tricky to explain. I have a usercontrol with some
i have one login.jsp web page where i have two textboxes for username and
The problem is simple: I have a form with textboxes, and in one of

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.