So, in this case, I add a border around the feedback area to make it clear what the "page" looks like, then a border around each "date" box, and then style the number in the date box. The only oddity (IMHO) is styling body-day as position: relative which has nothing to do with what it wants, but just to make it the frame of reference for the position: absolute in body-day-date.
Simples. You may also notice that I added a css class onto the feedback box, changed the id to a class for the controls box, and fixed a bug in where the date value was being added in controls.js.
.feedback {This code is in PLANNING_CALENDAR_BASIC_CSS.
border: 0.1mm solid black;
}
.body-day {
display: inline-block;
border: 0.1mm solid black;
margin: 2mm;
width: 25mm;
height: 25mm;
position: relative;
}
.body-day-date {
position: absolute;
top: 3mm;
left: 3mm;
font-family: 'Courier New', Courier, monospace;
font-weight: bold;
font-size: 5mm;
}
No comments:
Post a Comment