Bonjour la communauté,
Je voudrais savoir comment faire pour aligner des rubriques quand le titre de la rubrique n'a pas la même taille.
Voiçi mon code pour que vous compreniez mieux la situation.
Html :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 <div id="columnBct"> <form method="post" ENCTYPE="text/plain" action="mailto:info@borj-biramane.com"> * Nom : <input type="text" NAME="nom" SIZE="20" MAXLENGTH="40"> <br> * Prénom : <input type="text" NAME="prenom" SIZE="20" MAXLENGTH="40"><br> * Tél. : <input type="text" NAME="tel" SIZE="10" MAXLENGTH="10"> * Tél. (GSM) : <input type="text" NAME="tel" SIZE="10" MAXLENGTH="10"><br> * Pays : <input type="text" NAME="pays" SIZE="20" MAXLENGTH="40"><br> * e-mail : <input type="text" NAME="mail" SIZE="30" MAXLENGTH="55"><br><br> * Sujet :<br> <select name="choix"> <option value="choix0">Faites votre choix</option> <option value="choix1">Demande d'informations</option> <option value="choix2">Demande de réservation</option> </select><br> <br>Votre message ici :<br> <textarea name="message" rows="5" cols="35" MAXLENGTH="300"> </textarea><br><br> <input type="submit" value="Valider" /> <input type="reset" value="Effacer" /><br><br> * Champs obligatoires </form> </div>
Et le code css :
Merci pour votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 #columnBct { float: left; width: 340px; margin-left:-35px; margin-top:20px; }
Partager