Astuce: ajouter un commentaire

Publié le par Designs

Ajouter un commentaire, c'est bien, mais c'est mieux si  c'est lisible et beau. Petit tour d'un cote possible pour vous simplifier la vie.

#formComment {background: white; color: #008; }
#formComment input {background: #CCC; color: #008;} /* champ sur une ligne et boutons */
#formComment textarea {background: #ccc; color: #008;} /* champ sur plusieurs lignes */
#formComment .floatR {width: 77%;} /* champ texte : champ */
#formComment .floatL {width: 18%;} /* champ texte : label */
#formComment .submit {font-weight: bold; padding: 3px; border: 2px dashed #008;} /* le bouton */


Alors, il faut noter qu'on peut en mettre beaucoup moins, ou beaucoup plus.
Ca dépend de ce que l'on veut faire. Voilà ce que cela donne :

commentaires.png

Publicité

Publié dans Astuces CSS

Pour être informé des derniers articles, inscrivez vous :
Commenter cet article