Ajouter une autre ligne à mon tableau css ?

Répondre


Cette question est un moyen d’empêcher des soumissions automatisées de formulaires par des robots.
Smileys
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: =D> #-o =P~ :^o :non: :priere: 8-|
Voir plus de smileys
  Revue du sujet
 

  Étendre la vue Revue du sujet : Ajouter une autre ligne à mon tableau css ?

Re: Ajouter une autre ligne à mon tableau css ?

par kevin254kl » 27 déc. 2015, 16:38

Bonjour,
il-y a <figure> et <figcaption>

Ajouter une autre ligne à mon tableau css ?

par Etanm » 07 déc. 2015, 12:47

Bonjour,

J'aimerais ajouter une légende sous mes images (dans mes tableaux ci-dessous).

J'ai du mal à gérer les tailles de tableaux en css.

Comment pourrai-je ajouter 3 lignes sous les 3 colonnes (afin d'y ajouter une légende/description) ?

Voici une représentation de ce je voudrais : http://s15.postimg.org/tjn9w79mz/representation.jpg

- Mon fichier html =
<link href="css.css" rel="stylesheet">

  <div class="tableau">

  <p>     
  <span class="a1"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a2"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a3"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a4"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  </p>

  <p>     
  <span class="a1"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a2"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a3"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a4"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  </p>

  <p>     
  <span class="a1"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a2"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a3"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  <span class="a4"><img alt="" height="150" src="img/01.jpg" width="100"></span>
  </p>

  </div>

- Mon fichier css.css =
.tableau span {
margin: 20px;
padding-top:20px;
padding-bottom:20px;
padding-right:100px
padding-left:100px;
text-align :center;
}

.tableau p {
margin: 20px;
padding-top:20px;
padding-bottom:20px;
padding-right:100px
padding-left:100px;
text-align :center;
}

Merci d'avance pour votre aide :).

A