Incorrect "font" tag generating in Internet Explorer

  •  07-12-2013, 6:37 AM

    Incorrect "font" tag generating in Internet Explorer

    Hi Everyone,

     

    I am facing an issue in IE on SPAN tags whose class is defined.

     

    When I am using the "Highlight" feature on some text, a span tag is created in the HTML like below :

    <SPAN style="BACKGROUND-COLOR: yellow">programming</SPAN> 

     

    If we place the cursor just after the span and detete the highlighted text using BACKSPACE, and then enter some text there, a font tag is created. The HTML appears as below :

    <FONT style="BACKGROUND-COLOR: #ffff00">TESTING</FONT>

     

    This issue is occurs only on IE(Internet Explorer) whereas Firefox retains the span.

     

    Can anyone assist me with this issue?

     

    Regards,

     

    Biswajit Majumdar

    Filed under:
View Complete Thread