Last post Jan 24, 2017 12:39 PM by aspfun
Jan 23, 2017 09:07 PM|aspfun|LINK
How to fix <td align="right"> error?
Jan 23, 2017 09:22 PM|ryanbesko|LINK
What is the "error"? Always post that. Do you take your car to a mechanic and say something is wrong with it and leave? Are you just seeing it underlined in the Visual Studio IDE and wonder why? If that's the case, it won't error when the page runs,
but Visual Studio wants you to follow certain rules in modern HTML. Use this instead:
<td style="text-align: right;">
Jan 24, 2017 02:04 AM|Jean Sun|LINK
I find the demo of using <td align="right"> in the following link, it works fine.
However, the align attribute of <td> is not supported in HTML5. Use CSS instead.
CSS syntax: <td style="text-align:right">
Jan 24, 2017 12:39 PM|aspfun|LINK
My error is "not supported in HTML5" but it still works.
I'll update it to use CSS as you posted.