EDIT: THIS CODE IS OLD, PLEASE SEE MY NEXT POST. S
Hi everyone,
I appreciate this is a CSS problem not so much a problem with the module itself however, I’m hoping a CSS guru may be able to help me out!
I’ve setup a calendar @ http://www.acceleratorhq.com/cjl/index.php/about/
There will only ever be 2 events on the same day so I thought it would be a nice idea to use stars to indicate more than one event. The problem I’m having is that whilst this renders okay in FF etc. it breaks down in IE. Ideally I would like the day numbers range top right and the stars range bottom left.
The code I am using so far is as follows:
CSS
/* ---------->>> MINI CALENDAR <<<----------- */
table.calendar {
margin:20px;
border-left:10px solid #eee;
background-color:#fff;
color:#666;
}
table.calendar tr.calendarheader {
background-color:#eee;
font:1.4em/25px Arial Narrow, Arial, Helvetica, clean, sans-serif;
}
table.calendar tr th.calendarmonth {
display:block;
float:left;
width:125px;
height:25px;
text-align:center;
}
table.calendar tr th.calendarmonthlink {
display:block;
float:left;
width:25px;
height:25px;
text-align:center;
}
table.calendar tr th.calendarmonthlink a,
table.calendar tr th.calendarmonthlink a:hover {
color:#906;
text-decoration:none !important;
}
table.calendar td {
display:block;
float:left;
width:24px;
height:24px;
border-top:1px solid #fff;
border-left:1px solid #fff;
font:1em/10px Arial Narrow, Arial, Helvetica, clean, sans-serif;
}
table.calendar td div.float {
position:absolute;
float:left;
}
table.calendar tr td.calendarday {
background:#ccc url("images/bg-calendar-day.gif") repeat-x;
font:bold 1.1em/25px Arial Narrow, Arial, Helvetica, clean, sans-serif;
text-align:center;
}
table.calendar tr td.calendarblank {
background-color:#eee;
}
table.calendar tr td.calendartoday {
display:block;
width:24px;
height:24px;
background-color:#f0d9e8;
}
table.calendar tr td.calendarcell {
background-color:#f0f0e0;
}
table.calendar tr td.calendarcell a {
}HTML
Any help would be greatly appreciated. This is the last 2% of the site before completion!
Thanks,
Steve