Page layouts

Log in to stop seeing adverts
This page may contain links to companies such as eBay and Amazon. As an affiliate of these sites I may earn commission if you click the link and make a purchase

Status
Not open for further replies.
Ok, I'm going to reopen this one.

Apparently the code I used is not xhtml compliant:

Code:
<table>
     <divstyle="float: left;">...</div>
     <divclass="custom-page-title">...</div>
     <div>...</div>
 </table>

Any ideas what I need to do to make it compliant?

Thanks,
Joe

Table tags cannot wrap div tags. They can only parent <th> or <tr> tags.

You either need to lose the table and lay the document out properly, or wrap the divs in table row and cell tags.

Code:
<table>
     <tr><td>
     <divstyle="float: left;">...</div>
     <divclass="custom-page-title">...</div>
     <div>...</div>
     </td></tr>
 </table>
 
Status
Not open for further replies.
Log in to stop seeing adverts

P Pld Pts
1Liverpool1639
2Chelsea1735
3Arsenal1733
4Nottm F1731
5Bournemouth1728
6Aston Villa1728
7Manchester C  1727
8Newcastle1726
9Fulham1725
10Brighton1725
11Tottenham 1723
12Brentford1723
13Manchester U1722
14West Ham1720
15Everton1616
16Palace1716
17Leicester1714
18Wolves1712
19Ipswich1712
20Southampton176

Latest posts

Back
Top