I developed a responsive calendar with memos for each day. Everything seems to be working fine, but only on two different screen resolutions. When viewing it on my small monitor with the resolution of 1024x768, it displays like this:
https://i.sstatic.net/18HPA.png
However, when I adjust the screen size to that of a smartphone, it looks like this:
https://i.sstatic.net/DxLP1.png
But, when I try to set a different resolution, everything gets messed up and looks like this:
https://i.sstatic.net/V2vz5.png
I have created a fiddle for you to test how it works:
https://jsfiddle.net/skyr9999/fgmyy0xh/
Here's the HTML code:
<div class="result">
(calendar content here)
</div>
and the CSS code:
(CSS styling here)
How can I fix these issues? I want the calendar to display in two columns on medium-sized screens, similar to one of the following layouts:
Sun Mon
Tue Wed
Thu Fri
Sat
or
Sun Mon Tue
Wed Thu Fri
Sat
Update 1
I also noticed double borders between cells. How can I remove them? I tried using border-collapse: collapse;
but it didn't work.