From ce58f0df2253c7bdcf545be456c7d9d2ddf1e2d7 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Fri, 24 Mar 2006 21:36:08 +0000 Subject: fix : add a bottom margin below the calendar (still doesn't work with IE) git-svn-id: http://piwigo.org/svn/trunk@1097 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/content.css | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/content.css b/template/yoga/content.css index 641225309..7805fb4be 100644 --- a/template/yoga/content.css +++ b/template/yoga/content.css @@ -214,10 +214,13 @@ SPAN.calCalHead { SPAN.calCal { margin: 0 2px; } /* nice looking month calendar*/ -.calMonth { border: none; border-collapse: collapse; } +TABLE.calMonth { + border: none; + border-collapse: collapse; + margin-bottom: 10px; /*<-IE ignores this */ +} -TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank -{ +TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank { text-align:left; vertical-align: top; font: bold 18px Arial, Helvetica, sans-serif; @@ -225,16 +228,14 @@ TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; } -DIV.calImg -{ +DIV.calImg { overflow: hidden; vertical-align: bottom; z-index: 1; position: relative; /*<- this required by IE*/ } -.calImg img -{ +.calImg img { position: relative; border: 0; } -- cgit v1.2.3