• HTML
• CSS
• Javascript
• Browser Sniffing
• Interactive TV
• Secure Pages
• Testing
• Color Picker
• MSN TV Viewer
• Interactive TV Link Generator
• FAQs
• Misc Tips
• Flash
• Streaming Media
Developer Home | Overview | Designing for TV | Develop and Code | Support | Tools
| Develop and Code
| HTML
| Tags
| Forms
| Frames
| Tables
| Seamless Image Maps
| Images in Forms
| Cascading Style Sheets
| Elements
| JavaScript
| Interactive TV
| Displaying TV Broadcasts in Web Pages
| Transport Types
| Triggers
| Trigger Attributes
| Trigger Weaving
| Deferrer Functions
| Smooth Content
| Tips & Tricks
| Samples
| Multimedia
| Windows Media Player
| Real Player
| Macromedia Flash
| Secure Pages
| Proxy Servers
| Browser Sniffing (CVA)
| Error Pages
| Caching
| Testing
> # Elements Use this table as a quick reference to understand the CSS support in the TV browser. Elements that have no special behaviors are fully supported.
> Property | Special Behaviors and Notes
> --- | ---
> background |
> background-color | Margins, padding, and borders are not taken into account when background colors are applied to inline elements such as text. The colors appear only behind the text, not within the "box" of the element as described in the CSS specification.
> background-image | Supported only in the <BODY> tag.
> background-position | Supported only in the <BODY> tag; valid values are limited to: top, center, bottom, left, and right. The values percentage and length are not supported.
> background-repeat | Supported only in the <BODY> tag.
> border |
> border-style | Only the solid attribute is supported.
> color |
> counter-increment |
> counter-reset |
> float | Only the none value is supported.
> font |
> font-family | Only sans serif and monospace are supported.
> font-size | Since the font sizes that we support are so limited, so too is the application of this property. Currently the specified font size is mapped into a table of six standard sizes. The mapping algorithm simply picks the standard size that is closest to the specified size. Sizes that fall outside the range provided in the table are simply mapped to the largest or smallest available size. Effects, such as a run of text that gradually gets smaller or larger, are lost if the sizes specified fall outside the range of the table. According to the CSS specification, percentage values for this property should be based exclusively on the font size of the parent element. The TV browser calculates font sizes based on the percentage of the default font size for the element. Relative values (smaller & larger) are not supported.
> font-style | The value oblique maps to italic.
> font-variant |
> Property | Special Behaviors and Notes
> font-weight |
> height | Applicable only to <DIV> tags.
> left | Applicable only to <DIV> tags.
> line-height |
> list-style |
> list-style-image |
> list-style-type |
> margin |
> margin-left |
> position | Applicable only to <DIV> tags. The value fixed is not supported.
> text-align | The value justify is not supported.
> text-decoration | Includes the WebTV specific values of: relief, shadow, and emboss.
> text-indent |
> text-shadow |
> text-transform |
> top | Applicable only to <DIV> tags.
> vertical-align |
> visibility | Applicable only to <DIV> tags.
> z-index | Applicable only to <DIV> tags.
> font | Applicable only to <DIV> tags.
Back to Top
Developer Home |Overview |Designing for TV |Develop and Code |Support |Tools © 2001 Microsoft Corporation. All rights reserved. Terms of use. Privacy statement. |