I have been trying to sort this out for a while now and I can't think of a way to solve this properly so it validates in the w3c validator (this is for coursework you see!).
I am trying to make it so one bit of text appears on the left of the page, and the other on the right, and on the same line. To do this I have created a table and made it so the text align is left and right as appropriate. However, when I put it through the validator it says the <td align="left"> and the <td align="right> should be done in css and not html...
This is the what I have currently for my html table:
<td align="left">text for the left</td>
<td align="right">text for the right</td>
I have tried making separate div tags for text align left and right in the css and added it to each td, but w3c didn't like that either...
Any suggestions? I don't mind removing the table if anyone can think of a way to make some text align left and other right, but it has to be on the same line!
AND there is :nth-child (even|odd) pseudo selectors to play with, where alternate rows (tr:nth-child) or cells (td:nth-child) could have different rules simply based on where they were in the table structure.