Difference between revisions of "Text-transform"

From Htmlpedia
Jump to: navigation, search
(browser support now in tables)
m ("element" changed to "p")
Line 15: Line 15:
  
 
<good><pre>&lt;style type="text/css"&gt;
 
<good><pre>&lt;style type="text/css"&gt;
     element { text-transform: value; }
+
     #html_id { text-transform: uppercase; }
 
&lt;/style&gt;
 
&lt;/style&gt;
 
...
 
...
&lt;element attribute="foo"&gt;Contents&lt;/element&gt;</pre></good>
+
&lt;p id="html_id"&gt;Contents&lt;/p&gt;</pre></good>
  
 
===Browser Support===
 
===Browser Support===
Line 50: Line 50:
 
|-
 
|-
 
| IE 7
 
| IE 7
| Full
+
| <span style="color:#007700">Full</span>
 
|}
 
|}
  
Line 85: Line 85:
 
|-
 
|-
 
| Firefox 2
 
| Firefox 2
| Full
+
| <span style="color:#007700">Full</span>
 
|-
 
|-
 
| Mozilla
 
| Mozilla
Line 100: Line 100:
 
|-
 
|-
 
| Opera 9
 
| Opera 9
| Full
+
| <span style="color:#007700">Full</span>
 
|-
 
|-
 
| Safari 3
 
| Safari 3
Line 106: Line 106:
 
|}
 
|}
  
*1: tested with: Safari for Windows 3.0.3
+
*1: tested with: Safari for Windows 3.0.3
  
 
===Tips and Tricks===
 
===Tips and Tricks===

Revision as of 18:31, 8 September 2007

CSS 1 property: text-transform

This article is a stub for the property text-transform. Please help us improve HTMLpedia by improving this article.

Property Values

This property accepts the following values:

  • none
  • capitalize
  • uppercase
  • lowercase

Example

Good
<style type="text/css">
     #html_id { text-transform: uppercase; }
</style>
...
<p id="html_id">Contents</p>

Browser Support

If you have tested support for this property in any of the following browsers, please indicate its level of support using one of the following keywords:

  • Full
  • Partial
  • Buggy
  • None

If you indicate that support is "Partial" or "Buggy," please add further comments explaining what's missing or what doesn't work right.

Browser text-transform support
IE 3 unknown
IE 4 unknown
IE 5 unknown
IE 5.5 unknown
IE 6 unknown
IE 7 Full
Browser text-transform support
NS 3 unknown
NS 4 unknown
NS 4.5 unknown
NS 6 unknown
NS 7 unknown
NS 8 unknown
Browser text-transform support
Firefox 1 unknown
Firefox 1.5 unknown
Firefox 2 Full
Mozilla unknown
Opera 6 unknown
Opera 7 unknown
Opera 8 unknown
Opera 9 Full
Safari 3 Full *1
*1: tested with: Safari for Windows 3.0.3

Tips and Tricks

If you know of any useful or uncommon tips or techniques using this property, please describe them here.

References