From 05c3779ab535c30a488c10d480a14989d0fcc149 Mon Sep 17 00:00:00 2001 From: gdetrez Date: Tue, 16 May 2006 11:05:14 +0200 Subject: [PATCH] Stephane a raison, il semble que max-width et max-height passent bien. + alignement horizontal darcs-hash:20060516090514-f46e9-4fde257d77da08cd516ac9d2d1e1d70cb66043f9.gz --- wiki/static/common/EventCalendar/EventCalendar.css | 2 -- wiki/static/common/pagesPersos.css | 13 +++++++------ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/wiki/static/common/EventCalendar/EventCalendar.css b/wiki/static/common/EventCalendar/EventCalendar.css index a41647e4..3398fe08 100644 --- a/wiki/static/common/EventCalendar/EventCalendar.css +++ b/wiki/static/common/EventCalendar/EventCalendar.css @@ -108,8 +108,6 @@ TABLE.cal_event { margin:0 0 0 0; border-width:0px; - align: center; - } TD.cal_event { diff --git a/wiki/static/common/pagesPersos.css b/wiki/static/common/pagesPersos.css index 35b562c4..bab56a0f 100644 --- a/wiki/static/common/pagesPersos.css +++ b/wiki/static/common/pagesPersos.css @@ -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; }