Bonjour,
Après des nombreuses heures de travail, je n'arrive toujours pas à aligner la boîte du texte et le bouton du formulaire spip listes.
Le site se trouve ici : http://www.fcl-b.be à gauche en bas.
Merci beaucoup de m'aider. Je ne sais plus où chercher.
GR
Le code est le suivant:
<div style="font-weight: bold ; text-align: center ; padding: 0 1em 1em 1em ; color: #000000;">Inscrivez-vous pour recevoir notre Newletter</div>
<form id="myform" class="cssform" action="">
[<p class='formulaire_ok'>(#ENV*{message_ok})</p>]
[<p class='formulaire_erreur'>(#ENV*{message_erreur})</p>]
[<p><span class='erreur'>(#ENV**{erreurs}|table_valeur{email})</span></p>]
[(#ENV{editable}|oui)
<form action='#ENV{action}' method='post'>
#ACTION_FORMULAIRE{#ENV{action}}
<input type='text' name='email' value='#ENV{email}' />
<input type="hidden" name="listes&[&]" checked="checked" value="1" />
<br />
<input name="format_abo" value="html" checked="checked" type="hidden" class="fenetre"/>
<input type="image" src="squelettes/img/auteur.png" width="50px" ;name="ok" value='ok' title="ok" class="button"/>
</form>]
/*
*******************
SPIP LISTES
*******************
*/
#formliste {
width: 215px ;
height:110px;
}
.cssform p{
width: 215px;
clear: left;
margin: 0;
padding: 5px 0 8px 0;
height: 1%;
}
.cssform input[type="text"]{ /*width of text boxes. IE6 does not understand this attribute*/
width: 140px;
}
.cssform textarea{
font-size: 100%;
font-family: inherit;
}
/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/
* html .threepxfix{
margin-left: 3px;
}
.formulaire_erreur, .erreur, formulaire_ok {
color: #8B0000;
padding: 0 15px;
font-size: 0.9em ;
text-align: center ;
line-height: 1.2em ;
}