Markup Validation Service: one parsing error.

Hello,

 

Only one report here, with that service "Markup Validation Service" -
http://validator.w3.org/, I meet a very strange validation error as follows,

 

"

Line 318, Column 73: The font element is obsolete. Use CSS instead.

..       <span id="lbl_TodayWritten"><font color="#C00000">0</font></span>

"

 

But, html text is,

 

<span id="lbl_TodayWritten" style="color:#C00000;">0</span>



"Markup Validation Service" produces 'style=.' as separate font tag.

 

Anyway, I just got a workaround with css class,


..mycolor
{
  color: #c00000;

}

<span id="." class="mycolor" />

 

 

Received on Wednesday, 8 June 2011 17:19:29 UTC