
TODO : trouver d'o vient l'espace entre l'image et le texte et le supprimer. darcs-hash:20060513152651-72cb0-2fb7fec443556845865a8bdef9586092684e6dc9.gz
26 lines
608 B
CSS
26 lines
608 B
CSS
div.vignetteperso {
|
|
text-align: center;
|
|
height: 150px;
|
|
width: 100px;
|
|
border: 0px;
|
|
float: left;
|
|
padding: 10px;
|
|
overflow:show;
|
|
font-size: 0.65em;
|
|
}
|
|
|
|
|
|
div.vignetteperso a {
|
|
height:100px;
|
|
width:100%;
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* redimentionnement proportionnel des images : on wuppose que l'image est plus large que haute */
|
|
/* /!\ si on ecrit a la foi max-width et max-heigth au lieu de width et height, le redimentionnement n'est plus proportionnel */
|
|
div.vignetteperso img {
|
|
width:100px;
|
|
max-height:100px;
|
|
margin: auto auto;
|
|
}
|