theniteowl
Programmer
Hi All,
I am working on a calendar.
I want to have boxes for Mon-Friday of equal sizes and at the end of the row have two half heigh boxes for Sat/Sun.
Saturday would be over top of Sunday like this.
__________________________________________
Mon |Tue |Wed |Thu |Fri |Sat |
| | | | |______|
| | | | |Sun |
______|______|______|______|______|______|
I am having trouble getting the Sunday element to position underneath Saturday rather than wrapping to the next line.
What is a good approach for something like this?
I will be dynamically generating the days from code so the preferable approach is if the positioning can be handled entirely with the CSS without having to set any positioning from code.
Thoughts?
It might be easy but I am just learning CSS.
Thanks.
Stamp out, eliminate and abolish redundancy!
I am working on a calendar.
I want to have boxes for Mon-Friday of equal sizes and at the end of the row have two half heigh boxes for Sat/Sun.
Saturday would be over top of Sunday like this.
__________________________________________
Mon |Tue |Wed |Thu |Fri |Sat |
| | | | |______|
| | | | |Sun |
______|______|______|______|______|______|
I am having trouble getting the Sunday element to position underneath Saturday rather than wrapping to the next line.
What is a good approach for something like this?
I will be dynamically generating the days from code so the preferable approach is if the positioning can be handled entirely with the CSS without having to set any positioning from code.
Thoughts?
It might be easy but I am just learning CSS.
Thanks.
Stamp out, eliminate and abolish redundancy!