Bonjour,
J'ai ce type de formulaire, et j'aurai voulu que le textarea soit positionné sur le coté droit des champs text, voir image. Je n'arrive pas à le positionner !! Pouvez-vous me donner un coup de main ?
http://www.casimages.com/i/141018083238522936.gif
J'ai ce type de formulaire, et j'aurai voulu que le textarea soit positionné sur le coté droit des champs text, voir image. Je n'arrive pas à le positionner !! Pouvez-vous me donner un coup de main ?
http://www.casimages.com/i/141018083238522936.gif
<form action="contact_en/envoi.php" method="post" name="formContact" autocomplete="on">
<p>
<label for="lastname">Last Name<span class="required">*</span></label>
<input type="text" name="lastname" id="lastname" required="required" placeholder="Last Name *" />
</p>
<p>
<label for="firstname">First Name<span class="required">*</span></label>
<input type="text" name="firstname" id="firstname" required="required" placeholder="First Name *" />
</p>
<p>
<label for="address">Address</label>
<input type="text" name="address" id="address" placeholder="Address" />
</p>
<p>
<label for="zipcode">Zip Code</label>
<input type="text" name="zipcode" id="zipcode" placeholder="Zip Code" />
</p>
<p>
<label for="city">City</label>
<input type="text" name="city" id="city" placeholder="City" />
</p>
<p>
<label for="phone">Phone</label>-->
<input type="text" name="phone" id="phone" placeholder="Phone" />
</p>
<p>
<label for="email">Email<span class="required">*</span></label>
<input type="text" name="email" id="email" required="required" placeholder="Email *" />
</p>
<p>
<label for="subject">Subject<span class="required">*</span></label>
<input type="text" name="subject" id="subject" required="required" placeholder="Subject *" />
</p>
<p>
<label for="message">Message<span class="required">*</span></label>
<textarea id="message" name="message" required="required" placeholder="Area of Interest *"></textarea>
</p>
<p class="indication">All fields with a <span class="required">*</span> are required</p>
<p>
<input type="submit" value="Submit !" />
</p>
</form>
</div>
/*balises generiques*/
body{
color:#000000;
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
}
#conteneur{
margin:0px auto;
width:300px;
padding:0px;
border:0px solid #000000;
}
/*couleur pour les cchamps obligatoires*/
input:required, textarea:required{
background-color:#fff;
color:#000;
}
/*input et textaera*/
input:not([type="submit"]), textarea{
display:block;
width:230px;
padding: 4px 8px;
border: 1px solid #000000;
color:#111;
font-size:12px;
/*border radius*/
border-radius: 1px;
-webkit-border-radius:1px;
-moz-border-radius:1px;
}
input:not([type="submit"]){
height:20px;
}
textarea{
min-height:100px;
resize:vertical;
}
.indication{
color:#878787;
font-size:11px;
font-style:italic;
text-align:left;
}
/*bouton*/
input[type=submit]{
margin-left:178px;
cursor:pointer;
color:#000000;
font-size:16px;
padding:5px 4px;
border:1px solid #ffffff;
background:#ffffff;
}