[SOLVED]Footer not XHTML compliant

Please read the forum rules before asking for help

[SOLVED]Footer not XHTML compliant

Postby Kit51 » Fri Aug 21, 2009 12:24 pm

I noticed that the footer for "News management powered byXpression News" is not in compliance with the XHTML standard. I tried looking for this section in the script but I can't seem to find it. Is there any way to edit so that it fits the XHTML standard?

Thanks in advance.
Kit51
 
Posts: 7
Joined: Fri Aug 21, 2009 12:19 pm

Re: Footer not XHTML compliant

Postby rokxer » Thu Aug 27, 2009 5:47 pm

The footer is encoded and very well hidden. I'll ask the script's author if we can do anything about it.
rokxer
 
Posts: 108
Joined: Tue Jun 02, 2009 11:25 am

Re: Footer not XHTML compliant

Postby Kit51 » Sun Aug 30, 2009 9:53 pm

Thanks.
Kit51
 
Posts: 7
Joined: Fri Aug 21, 2009 12:19 pm

Re: Footer not XHTML compliant

Postby rokxer » Mon Aug 31, 2009 11:52 pm

Can you tell me in which way the footer is not XHTML compliant? Because i don't really know what is wrong :?

I think this is the code you we are looking into:
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>
rokxer
 
Posts: 108
Joined: Tue Jun 02, 2009 11:25 am

Re: Footer not XHTML compliant

Postby Kit51 » Tue Sep 01, 2009 1:09 pm

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.
Kit51
 
Posts: 7
Joined: Fri Aug 21, 2009 12:19 pm

Re: Footer not XHTML compliant

Postby rokxer » Mon Sep 07, 2009 2:20 pm

The footer is now XHTML compilant. You just have to login in the admin panel to refresh it.
rokxer
 
Posts: 108
Joined: Tue Jun 02, 2009 11:25 am


Return to Help & Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron