aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2006-03-24 21:36:08 +0000
committerchrisaga <chrisaga@piwigo.org>2006-03-24 21:36:08 +0000
commitce58f0df2253c7bdcf545be456c7d9d2ddf1e2d7 (patch)
tree825c04b57a24e7a9acdb4284426736ffd0ff5407 /template
parentac31189d735bde8baf35d062da8751b33d08f64f (diff)
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
Diffstat (limited to 'template')
-rw-r--r--template/yoga/content.css15
1 files changed, 8 insertions, 7 deletions
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;
}