Hi all
Testing out tables (simple ones) in ePub. With minimal manual tweaking I can get a table exported from Indesign CS5.5 that looks good in Sigil and Ibis but surprise surprise there's an issue with ADE. Won't be able to check it in iBooks until tomorrow. It's not a biggy if there's no way round it but worth doing if there's a quick fix.
The problem is that the table header should have a different background colour to the rest of the table, but this seems to be ignored in ADE. See screenshots.
My code;
Code:
<div class="Basic-Text-Frame">
<table class="No-Table-Style" id="table-1">
<thead>
<tr>
<th>Change</th>
<th>Scenario</th>
<th>Considerations</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p class="main-text-no-para-indent">Contract Extension</p>
</td>
<td>
<p class="main-text-no-para-indent"><span class="bullet">•</span> An authority wishes to extend an existing contract for 2 years rather than run a costly and time consuming procurement exercise </p>
<p class="main-text-no-para-indent"><span class="bullet">•</span> Its supplier may be willing to offer a price discount or additional services in order to secure an extension</p>
</td>
etc etc etc
My CSS;
Code:
table {
background: #EFD0C0;
border: 2px solid black;
margin-top: 1em !important;
margin-bottom: 1em !important;
border-collapse: collapse;
}
td {
background: #EFD0C0;
border: 2px solid black;
vertical-align: text-top;
padding: 0.25em !important;
}
thead {
background: #C9652F;
}
th {
border: 2px solid black;
text-align:left;
padding: 0.25em !important;
}
Would appreciate it if any of you guys had any thoughts about this (except "don't use/worry about ADE").
cheers,
Iain