I have 4 divs. One is on top 600px wide.
Below it are 3 in column format each 200px wide. All four divs have a 1px solid border.
The problem is that the 3 column divs stretch out horizontally at least two pixels. I added border-right:0px and border-left:0px to the middle column. That shrank it a bit. In IE its fine, in mozilla and opera the bottom divs stick out a bit.
<div class="roster">Rosters</div>
<div class="column3">
bleh bleh 1</div>
<div class="column3" style="border-right:0px; border-left:0px">
bleh bleh 2</div>
<div class="column3">
bleh bleh 3</div>
.column3 {
margin: 0px; padding: 0px;
width:200px;
float:left;
border: 1px solid #06c;
background: #6cf;
text-align: center;
}
.roster {
text-align:center;
width:600px;
background:#6cf;
border: 1px solid #06c;
border-bottom:0px;
}
Below it are 3 in column format each 200px wide. All four divs have a 1px solid border.
The problem is that the 3 column divs stretch out horizontally at least two pixels. I added border-right:0px and border-left:0px to the middle column. That shrank it a bit. In IE its fine, in mozilla and opera the bottom divs stick out a bit.
<div class="roster">Rosters</div>
<div class="column3">
bleh bleh 1</div>
<div class="column3" style="border-right:0px; border-left:0px">
bleh bleh 2</div>
<div class="column3">
bleh bleh 3</div>
.column3 {
margin: 0px; padding: 0px;
width:200px;
float:left;
border: 1px solid #06c;
background: #6cf;
text-align: center;
}
.roster {
text-align:center;
width:600px;
background:#6cf;
border: 1px solid #06c;
border-bottom:0px;
}