I wonder if once again I mau seek help as I don't seem to be able to crack this one.
What I actually want is for the numbers 1 to 9 to be in the centre of their relevant square.
I am using this CSS sheet which relates to more than just the table called "description"
body {
color: black; font-weight:bolder;font-style:italic;font-size: 15px;;
background-color: #8EE5EE }
#ed td, #ed th
{
font-size:15px;font-weight:bolder;font-style:italic;
border:0px solid #8EE5EE;
padding:3px 7px 2px 7px;
}
#customers th
{
font-size:1.1em;
text-align:left;
padding-top:5px;
padding-bottom:4px;
background-color:#8EE5EE;
color:#ffffff;
}
#ed tr.alt td
{
color:#000000;
background-color:#8EE5EE;
}
#description td, #description th
{
font-size:15px;font-weight:bolder;font-style:italic;
border:1px solid #000000;
}
#customers th
{
font-size:1.1em;
textAlign:center;
background-color:#8EE5EE;
color:#ffffff;
}
#description tr.alt td
{
color:#000000;
background-color:#8EE5EE;
}
p.copy:after {
content: " 1999-2011"
}
}p { margin-top:2.5em; }
h6
a:link {
color: black }
a:visited {
color: black }A{text-decoration:none
And this is the HTML for the relevant table. All the number remain in the left of their box regardless of what I do ! I guess it's possible to remove the necessity to have seperate style elements for the cvertical text in the columns too, but at this stage of my CSS learning, that's beyond me (;-)))
<table id="description" border="1">
<tr>
<td WIDTH="5%">Cols: 1</td>
<td WIDTH="5%"> 2</td>
<td WIDTH="5%"> 3</div></td>
<td WIDTH="5%"> 4</div></td>
<td WIDTH="5%"> 5</div></td>
<td WIDTH="5%"> 6</div></td>
<td WIDTH="5%"> 7</div></td>
<td WIDTH="5%"> 8</div></td>
<td WIDTH="60%">9</div></td>
</tr WIDTH="5%"><td WIDTH="5%">Civil Parish</div></td>
<td WIDTH="5%">Municipal Borough</div></td>
<td WIDTH="5%">Municipal Ward</div></td>
<td WIDTH="5%">Urban Sanitary District</div></td>
<td WIDTH="5%">Town or Village, or Hamlet</div></td>
<td WIDTH="5%">Rural Sanitary District</div></td>
<td WIDTH="5%">Parliamentary Borough or Division</div></td>
<td WIDTH="5%">Ecclesiastical Parish or District</div></td>
<td WIDTH="5%">Description of Boundaries and Content of Enumeration District</div></td></tr>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><BR>Ashton Under Lyne</div> </td>
<td WIDTH="5%"><td<style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><div align="center">----------</div></div> </td>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><div align="center">----------</div></div> </td>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext">U S D</div> </td>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><div align="center">
<br>Hurst</div></div> </td>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><div align="center">
<br>----------</div></div> </td>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><div align="center">
<br>
<br>Parliamentary</div></div> </td>
<td WIDTH="5%"><style>
<!--
.verticaltext {
writing-mode: tb-rl;
filter: flipv fliph;
}
-->
</style> <div class="verticaltext"><div align="center">
<br>
<br>St Johns's Hurst</div></div> </td>
<td WIDTH="60%">Commencing at one house ... </td></tr>
</table>
What am I missing please ?
Kind regards
Antony
[edited by: alt131 at 9:18 am (utc) on Nov 27, 2011]
[edit reason] Thread Tidy [/edit]