This makes no sense to me, but then again, I'm not anywhere close to a CSS expert (probably not even a good novice).
I'm using relative/absolute because I'm using dynamically paginated tables from huge tables. I do this to allow the user to rapidly thumb through data without overloading the client.
As you can see, the table-row expands 100%, but the table-cells don't obey table-layout:fixed. Need the table-cells to expand to fill all available table-row space.
(Side note, the border-collapse: collapse doesn't work either.)
Please help. Many thanks in advance!
HTML
<div class="gridTable">
<div class="gridRow">
<div class="gridCell">a</div>
<div class="gridCell">JKL;</div>
<div class="gridCell">Jb</div>
</div>
</div>
CSS
.gridTable{
display:table;
table-layout:fixed;
position:relative;
border-collapse: collapse;
}
.gridHeaderRow{
top:0px;
}
.gridRow, .gridHeaderRow{
display:table-row;
position:absolute;
}
.gridCell{
display:table-cell;
}
.gridTable, .gridRow, .gridHeaderRow{
width:100%;
}
.gridTable, .gridTable *{
border-collapse:collapse;
}
.gridTable div{
border-color:black;
border-width:1px;
border-style:solid;
}