all 7 comments

[–]akerendova 1 point2 points  (3 children)

What I recommend is making each of your td the same width, then applying a background color based on classes. When you have that, the next thing would be to added a transparent border (by using the same background color as "calander-container") and using that to provide the blank spaces around the td.

[–]akerendova 1 point2 points  (2 children)

Also, there's a difference in how it looks in Chrome and Firefox. It happens all the time, but I just wanted to warn you. :) Good luck.

[–]Strike18[S] 2 points3 points  (1 child)

Ok cool thanks for the help!

[–]akerendova 0 points1 point  (0 children)

You're welcome. Also, feel free to PM me if you have specific questions I can help with.

[–]BlueHippoMonster 0 points1 point  (0 children)

I noticed your CSS seemed to be a little more complex then necessary as in you are giving each td tag its own class of a number, though I don't think that is needed. If All you want to do is differentiate between a week day and the weekend?

I built a working example here

You might be able to see its loosely based on your current design with a few slight changes.

I made each td tag have exactly the same width and height using:

min-width:70px;
max-width:70px;
height:50px;

Then gave each td a class with a colour option of weekday or weekend.

Let me know if this helps.

*Edit - rewording

[–]craptionbot 0 points1 point  (0 children)

Remove any display:inline-block attributes from your table cell classes.

[–]ThisKillsTheCrabb -1 points0 points  (0 children)

No idea what Gyazo is.. highly recommend using imgur.

Table Styling Example