1
edit
Changes
no edit summary
<span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span><br /><br />
== Summary ==
The text-transform controls the letters in an element to whatever value it is set to. The property asks for the nature of the transformation.
<table border="0">
<tr>
<td><b>Applicability:</b></td><td>The text-indent property can be used for all elements.<td>
</tr>
<tr>
<td><b>[http://developer.mozilla.org/en/docs/CSS:%40media#Media_groups Media Group:]</b>
</td><td>Visual</td>
</tr>
<tr>
<td><b>Inherited:</b></td><td>Yes</td>
</tr>
</table>
== Syntax ==
<pre>
p
{
text-transform: [value]
}
</pre>
== Legal Values ==
The following transformation value can be used:
* none : Defines normal text, with lower case letters and capital letters
* capitalize : Each word in a text starts with a capital letter
* uppercase : Defines only capital letters
* lowercase : Defines no capital letters, only lower case letters
See [[#Usage Examples | usage examples]] section for more details.
== Mozilla Recommended Values ==
== Usage Examples ==
<pre>text-transform: uppercase /*CONVERTS TEXT TO UPPER CASE.*/</pre>
<pre>text-transform: capitalize /*Converts Text To Capitalize.*/</pre>
== Notes ==
== Specification Conformance ==
*[http://www.w3.org/TR/CSS1#text-transform CSS 1 ]
*[http://www.w3.org/TR/CSS21/text.html#caps-prop CSS 2.1]
== Browser Compatibility ==
== See Also ==
== Summary ==
The text-transform controls the letters in an element to whatever value it is set to. The property asks for the nature of the transformation.
<table border="0">
<tr>
<td><b>Applicability:</b></td><td>The text-indent property can be used for all elements.<td>
</tr>
<tr>
<td><b>[http://developer.mozilla.org/en/docs/CSS:%40media#Media_groups Media Group:]</b>
</td><td>Visual</td>
</tr>
<tr>
<td><b>Inherited:</b></td><td>Yes</td>
</tr>
</table>
== Syntax ==
<pre>
p
{
text-transform: [value]
}
</pre>
== Legal Values ==
The following transformation value can be used:
* none : Defines normal text, with lower case letters and capital letters
* capitalize : Each word in a text starts with a capital letter
* uppercase : Defines only capital letters
* lowercase : Defines no capital letters, only lower case letters
See [[#Usage Examples | usage examples]] section for more details.
== Mozilla Recommended Values ==
== Usage Examples ==
<pre>text-transform: uppercase /*CONVERTS TEXT TO UPPER CASE.*/</pre>
<pre>text-transform: capitalize /*Converts Text To Capitalize.*/</pre>
== Notes ==
== Specification Conformance ==
*[http://www.w3.org/TR/CSS1#text-transform CSS 1 ]
*[http://www.w3.org/TR/CSS21/text.html#caps-prop CSS 2.1]
== Browser Compatibility ==
== See Also ==