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
1Liverpool2356
2Arsenal2450
3Nottm F2447
4Chelsea2443
5Manchester C  2441
6Newcastle2441
7Bournemouth2440
8Aston Villa2437
9Fulham2436
10Brighton2434
11Brentford2431
12Palace2430
13Manchester U2429
14Tottenham 2427
15West Ham2427
16Everton2326
17Wolves2419
18Leicester2417
19Ipswich2416
20Southampton249
Back
Top