Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2017
    Posts
    2
    Member #
    57414

    2 inpute Type:text elements look like 1

    Hi,

    first of all sry for my bad english

    i have a little problem with the following code:

    HTML Code:
    <div class="formular">
    
               <form method="post" name="kd_form">
                   <select id="vo" title="VO">
                       <option value="11111111">Reutlingen</option>
                       <option value="22222222">Tübingen</option>
                       <option value="33333333">Nürtingen</option>
                   </select><br>
                   <div class="formname">
                       <input id="name" type="text" placeholder="Vorname">
                       <input id="name" type="text" placeholder="Name">
                   </div><br>
                   <input id="street" type="text" placeholder="Straße"><br>
                   <input id="plz" type="text" placeholder="PLZ">
                   <input id="town" type="text" placeholder="Stadt"><br>
                   <input id="kdn" type="text" placeholder="Kundennummer">
                   <input id="kw" type="text" placeholder="Kennwort"><br>
                   <input id="nummer" type="text" maxlength="12" placeholder="Rufnummer">
               </form>
           </div>
    the CSS:

    Code:
    .formname{
    }
    #name{
       display: inline-block;
       height: 2em;
       width: 15em;
       text-align: center;
       margin: 0;
       border: 1px 0;
    }
    #name:first-child{
       border-bottom-left-radius: 15px;
       border-top-left-radius: 15px;
       border-right: 0;
    }
    #name:last-child{
       border-bottom-right-radius: 15px;
       border-top-right-radius: 15px;
       border-left: 0;
    }
    thats the result:

    Screenshot (40).png


    my problem is that i want to show 2 <input type=text> like 1 but i have a small space between both and dont know where to define that to set it to 0.

    i am sure that it is something very easy but i am not able to solve it now

  2.  

  3. #2
    Junior Member
    Join Date
    Sep 2017
    Posts
    2
    Member #
    57414
    Nobody ?? Really


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:22 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com