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:
parent
70d12bf83e
commit
05c3779ab5
2 changed files with 7 additions and 8 deletions
|
@ -108,8 +108,6 @@ TABLE.cal_event {
|
|||
margin:0 0 0 0;
|
||||
|
||||
border-width:0px;
|
||||
align: center;
|
||||
|
||||
}
|
||||
|
||||
TD.cal_event {
|
||||
|
|
|
@ -11,16 +11,17 @@ div.vignetteperso {
|
|||
|
||||
|
||||
div.vignetteperso a {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
height:100px;
|
||||
width:100%;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
width:15em;
|
||||
text-align:center;
|
||||
|
||||
}
|
||||
|
||||
/* redimentionnement proportionnel des images : on suppose que l'image est plus large que haute */
|
||||
/* /!\ si on ecrit a la fois max-width et max-heigth au lieu de width et height, le redimentionnement n'est plus proportionnel */
|
||||
/* redimentionnement proportionnel des images */
|
||||
div.vignetteperso img {
|
||||
width:100px;
|
||||
max-width:100px;
|
||||
max-height:100px;
|
||||
margin: auto auto auto auto;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue