The code you will provide will work if the DOCTYPE is set to either HTML 4.01 Transitional or XHTML 1.0 Transitional, it will fail in the W3C Markup Validator.
Original code
- Code: Select all
<div align="center"><font color="#666666" size="-2" face="Verdana, Arial, Helvetica, sans-serif">News
management powered by</font><font size="-2" face="Verdana, Arial, Helvetica, sans-serif">
<a href="http://xpression.hogsmeade-village.com">Xpression News</a></font></div>
Using this as a
guide, the <font> tag is deprecated and it is currently being replaced with CSS.
To address this issue, I have modified part of it to suit for all DOCTYPEs:
- Code: Select all
<div style="text-align:center;"><span style="color:#666666; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:x-small;">News
management powered by</span><span style="font-size:x-small; font-family:Verdana, Arial, Helvetica, sans-serif;">
<a href="http://xpression.hogsmeade-village.com">Xpression News</a></span></div>
I hope that clears up for you. The code has been tested with the W3C Markup Validator.