Hey, I'm currently facing an issue with my class project. I've created a table with a series of images to form a background image. However, there are borders on the table that I need to adjust.
Here is the current look:
I am trying to have a square border around each date on the calendar. Each individual date squares should have a 1px border like the one around Taiwan Acrobats. Currently, I am getting the border around the images instead.
This is my current style rule:
table.calendar {
border: 1px solid black;
border-spacing: 5px;
font-size: 8px;
margin-top: 20px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
padding: 40px;
width: 650px;
background-image: url(topleft.jpg), url(topright.jpg), url(bottomleft.jpg), url(bottomright.jpg),
url(top.jpg), url(left.jpg), url(right.jpg), url(bottom.jpg);
background-position: left top, right top, left bottom, right bottom, left top, left top, right top, left bottom;
background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-x, repeat-y, repeat-y, repeat-x;
}
And this is the table:
<table class="calendar">
<caption>Events in Feburary at the CCC</caption>
<colgroup>
<col class="weekdays" span="5" />
<col class="weekends" span="2" />
</colgroup>
...
</tbody>