I have a problem with a two tables. The problem is that although they are both styled table-2 the widths of the columns in each table are different.
Is it possible for them to be the same ? I have read my book, and scoured the web, put cannot crack this bit.
Also, you will see in the HTML that there is a <hr color="black"> The checker says that this is no longer acceptable, but apparantly hr cannot be coloured or so I read. If this is resolvable, that would be great. I did try styling it as hr {color: #000000} but it didn't work. All I want is a black line !
The web page is at: http://www.c5d.co.uk/description1911ed1.php
I'd like to resolve this because I have twenty of these pages !
Thanks as always
Antony
This is the relevant CSS
table {margin:auto;font-size: 15px;font-style:italic; font-weight:bold;}
td{font-weight:bold; font-style:italic;}
#table-3, {border-collapse:collapse; border:0px solid black;border-style:hidden;}
#table-3 tr,th,td {border-collapse:collapse; border:0px solid black;border-style:hidden;border-bottom-color:#708090;text-align:center;}
#table-2 td,th,td {border: 1px solid black;}
#table-4, {border-collapse:collapse; border:0px solid black;border-style:hidden;}
#table-4,tr,th,td {border-collapse:collapse; border:0px solid black;border-style:hidden;border-bottom-color:#708090;text-align:left;}
This is the HTML
<hr color="black">
<p class="local">Boundary of Enumeration District</p>
<p class="local">On the north and northwest by the civil parish of Bardsley, on the south by the civil parish of Ashton Under Lyne, on the east by the civil parishes of Hurst and Hartshead and on the west by that portion of the civil parish of Waterloo which is in the Knott Lanes sub district.</p>
<hr color="black">
<p class="censusofenglandandwales1911">Contents of Enumeration District</p>
<br>
<p class="local">If the Enumeration District extends into more than one Civil Parish, Ecclesiastical Parish, Parliamentary Division etc., state the name in Column 1, and show the Contents separately in Column 2 opposite the respective names in Column 1; after each division of the Enumeration District draw a line across the page.
</p><table id="table-2" >
<tr><!-- Row 1 -->
<td>COLUMN 1</td><!-- Col 1 -->
<td>COLUMN 2</td><!-- Col 2 -->
<td>COLUMN 2</td><!-- Col 3 -->
<td>COLUMN 2</td></tr>
<tr><td>Ecclesiastical Parish</td><!-- Col 1 -->
<td>Lordsfield (3 Cottages)</td><!-- Col 2 -->
<td>Langham Street</td><!-- Col 3 -->
<td>Wilshaw Road up to Wilshaw Farm </td><!-- Col 3 -->
</tr>
<tr><!-- Row 3 -->
<td>Ashton Under Lyne Christ Church Part of</td><!-- Col 1 -->
<td>Elgin Street N<sup>os</sup> 53 to 61 odds</td><!-- Col 2 -->
<td>Clive Street</td><!-- Col 3 -->
<td>Gordon Street</td><!-- Col 3 --></tr>
<tr><!-- Row 3 -->
<td>Ashton Under Lyne Christ Church Part of</td><!-- Col 1 -->
<td>Elgin Street N<sup>os</sup> 53 to 61 odds</td><!-- Col 2 -->
<td>Clive Street</td><!-- Col 3 -->
<td>Gordon Street</td><!-- Col 3 --></tr>
<tr><!-- Row 5 -->
<td> </td><!-- Col 1 -->
<td>Taunton Road Crowhill House Milton Villas and <P class="two">94</p> 90 to 146 even Thornfield Fern Lea Hazel Dene Oaklands Gardener's Arms and N<sup>os</sup> 95 to 135 odd</td><!-- Col 2 -->
<tD>Cavendish Street</td><!-- Col 3 -->
<td>Store Street</td><!-- Col 4 -->
</tr>
<tr><!-- Row 6 -->
<td> </td><!-- Col 1 -->
<td> </td><!-- Col 2 -->
<td>Walton Street</td><!-- Col 3 -->
<td> </td><!-- Col 4 -->
</tr>
</table>
<hr color="black">
<table id="table-2" >
<tr><td>Ecclesiastical Parish: Bardsley Holy Trinity (Part of)</td><!-- Row 1 -->
<td>Oldham Road N<sup>os</sup> 255 to 305 Odd and 312 to 384 even and Glendor including Strafford House off the road</td><!-- Col 2 -->
<td>Limehurst Farm and Cottage</td><!-- Col 3 -->
<td>Oaken Clough and 2 Cottages off</td><!-- Col 4 -->
</tr>
<tr><!-- Row 2 -->
<td></td><!-- Col 1 -->
<td>Limehurst Road</td><!-- Col 2 -->
<td>Buckley Street and 4 Cottages off</td><!-- Col 3 -->
<td></td></tr>
</table>



Reply With Quote






Bookmarks