When I try to use CSS divs and spans to create a series of table-less rows and columns, there's always space between adjacent cells. Here's code similar to what I'm using:
It's not a bad look, just not the look I'm looking for. Can anyone provide insight?
Code:
<style>
span.cal_hdr {
text-align: left;
vertical-align: center;
width: 14.28%;
background-color: #EEEEE3;
border: 1px;
border-color: #880000;
border-style: solid;
border-collapse: collapse;
font-family: Arial;
font-style: italic;
font-weight: Bold;
color: #880000;
font-size: 10pt;
padding: 0px;
}
span.upper{
font-family: Arial;
font-weight: Bold;
color: #000000;
font-size: 8pt;
border-top: 1px;
border-left: 1 px;
border-bottom: 0 px;
border-right: 0 px;
border-color: #000000;
border-style: solid;
border-collapse: collapse;
z-index: 1;
background-color: #FFF;
width: 13.9%;
height: 100%;
padding: 0px;
color: #880000;
}
<style>
.
.
.
<div style="width: 780; height: 1; background-color: #FFF; border-width: 0px; border-color: #000000; border-style: solid; border-collapse: collapse;">
<span class="cal_hdr"><b>Sunday</b></span>
<span class="cal_hdr"><b>Monday</b></span>
<span class="cal_hdr"><b>Tuesday</b></span>
<span class="cal_hdr"><b>Wednesday</b></span>
<span class="cal_hdr"><b>Thusday</b></span>
<span class="cal_hdr"><b>Friday</b></span>
<span class="cal_hdr"><b>Saturday</b></span>
</div>
<div align=left style="width: 780; height: 1; background-color: #FFF; border-width: 0px; border-color: #000000; border-style: solid;">
<span id="day11" class=upper>1<br>Line 1<br>Line 2<br>Line 3<br>Line 4<br>Line 5<br>Line 6<br>Line 7<br>Line 8</span>
<span id="day12" class=upper> 2</span>
<span id="day13" class=upper> 3</span>
<span id="day14" class=upper> 4</span>
<span id="day15" class=upper> 5</span>
<span id="day16" class=upper> 6</span>
<span id="day17" class=right> 7</span>
</div>
<div align=left style="width: 780; height: 1; background-color: #FFF; border-width: 0px; border-color: #000000; border-style: solid;">
<span id="day11" class=upper> 8<br>Line 1<br>Line 2<br>Line 3<br>Line 4<br>Line 5<br>Line 6<br>Line 7<br>Line 8</span>
<span id="day12" class=upper> 9</span>
<span id="day13" class=upper> 10</span>
<span id="day14" class=upper> 11</span>
<span id="day15" class=upper> 12</span>
<span id="day16" class=upper> 13</span>
<span id="day17" class=right> 14</span>
</div>
It's not a bad look, just not the look I'm looking for. Can anyone provide insight?