Stephane a raison, il semble que max-width et max-height passent bien.

+ alignement horizontal

darcs-hash:20060516090514-f46e9-4fde257d77da08cd516ac9d2d1e1d70cb66043f9.gz
This commit is contained in:
gdetrez 2006-05-16 11:05:14 +02:00
parent 70d12bf83e
commit 05c3779ab5
2 changed files with 7 additions and 8 deletions

View file

@ -108,8 +108,6 @@ TABLE.cal_event {
margin:0 0 0 0; margin:0 0 0 0;
border-width:0px; border-width:0px;
align: center;
} }
TD.cal_event { TD.cal_event {

View file

@ -11,16 +11,17 @@ div.vignetteperso {
div.vignetteperso a { div.vignetteperso a {
display: table-cell;
vertical-align: middle;
height:100px; height:100px;
width:100%; width:15em;
display: table-cell; text-align:center;
vertical-align: middle;
} }
/* redimentionnement proportionnel des images : on suppose que l'image est plus large que haute */ /* redimentionnement proportionnel des images */
/* /!\ si on ecrit a la fois max-width et max-heigth au lieu de width et height, le redimentionnement n'est plus proportionnel */
div.vignetteperso img { div.vignetteperso img {
width:100px; max-width:100px;
max-height:100px; max-height:100px;
margin: auto auto auto auto; margin: auto auto auto auto;
} }