Microsoft KB Archive/312143

= Cannot Set the Color Attribute for a Font element in a Marquee Element =

Article ID: 312143

Article Last Modified on 6/18/2003

-

APPLIES TO


 * Microsoft TV Advanced 1.5
 * Microsoft TV Advanced 1.5

-



This article was previously published under Q312143



SYMPTOMS
When you set the color attribute of a font element, the color attribute is ignored when it is nested in an HTML element such as a marquee element.



CAUSE
The marquee element in Microsoft TV Advanced Client does not support the color attribute within a font element when it is nested in a marquee element.



WORKAROUND
To work around this behavior, do one of the following:   Place the font elements outside the marquee elements. This will work with both Microsoft TV Advanced Client and Microsoft Internet Explorer.

For example:

  Marquee color is red...   -or-

  Use an inline style attribute in the marquee element. This only works with Microsoft TV Advanced client.

For example:   Marquee color is red...   </li></ul>

<div class="status_section">

STATUS
This behavior is by design.

<div class="moreinformation_section">

Steps to Reproduce the Behavior
In the following snippet of HTML code, the text within the marquee element is displayed as black instead of red. Cut and paste this snippet into a blank HTML page. View the HTML page by using the Microsoft TV Simulator or Microsoft TV Advanced Client.

<HTML> <BODY> <MARQUEE BEHAVIOR=&quot;SCROLL&quot;>  Marquee color is red... </FONT> </MARQUEE> </BODY> </HTML>

<div class="references_section">