HTML CSS Reference/CSS Attributes and Javascript Style Properties/textDecorationOverline

Материал из Web эксперт
Перейти к: навигация, поиск

"textDecorationOverline" Example

    
<html>
<body>
<p id="myT">Text sample.</p>
<input type="button" 
       value="decoration:overline" 
       onclick="myT.style.textDecorationOverline="true"">
</body>
</html>



"textDecorationOverline" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<a>                             <address>                     |
|                |<b>                             <big>                         |
|                |<blockquote>                    <body>                        |
|                |<button>                        <caption>                     |
|                |<center>                        <cite>                        |
|                |<code>                          <col>                         |
|                |<colgroup>                      currentStyle                  |
|                |<custom>                        <dd>                          |
|                |defaults                        <dfn>                         |
|                |<dir>                           <div>                         |
|                |<dl>                            <dt>                          |
|                |<em>                            <fieldset>                    |
|                |<form>                          <hn>                          |
|                |<html>                          <i>                           |
|                |<inputtype="button">            <input type="file">           |
|                |<input type="password">         <input type="radio">          |
|                |<input type="reset">            <input type="submit">         |
|                |<input type="text">             <isindex>                     |
|                |<kbd>                           <label>                       |
|                |<legend>                        <li>                          |
|                |<listing>                       <marquee>                     |
|                |<menu>                          <ol>                          |
|                |<p>                             <pre>                         |
|                |runtimeStyle                    <s>                           |
|                |<samp>                          <select>                      |
|                |<small>                         <span>                        |
|                |<strike>                        <strong>                      |
|                |style                           <sub>                         |
|                |<sup>                           <table>                       |
|                |<tbody>                         <td>                          |
|                |<textarea>                      <tfoot>                       |
|                |<th>                            <thead>                       |
|                |<tr>                            <tt>                          |
|                |<u>                             <ul>                          |
|                |<var>                           <xmp>                         |
+----------------+--------------------------------------------------------------+



"textDecorationOverline" Possible Values

Possible Values
true
false.



"textDecorationOverline" Syntax and Note

Note:
JavaScript-only style properties.
Controls the text decorative.
Syntax:
    
elementID.style.textDecorationElement = "value"
document.all.elementID.style.textDecorationElement = "value"