HTML CSS Reference/CSS Attributes and Javascript Style Properties/border bottom width

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

"border-bottom-width" Example

   <source lang="html4strict">
   

<html> <head> <style> .style1 {

   border:5px solid #cccccc; 
   border-bottom-width:6px; 

} .style2 {

   border:"none"; 

} </style> </head> <body>


           Move your mouse in and out the see the style change.

</body> </html>


     </source>
   
  


"border-bottom-width" is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | | |

| |
|

| |<body> <button> |

| |
|

| | | | |<custom>

| | |defaults | | | <dir> |

| |
|

| |

| | |<embed> <fieldset> | | | <form> | | |<frame> <hn> | | | <img> | | |<input type="button"> <input type="checkbox"> | | |<input type="file"> <inputtype="image"> | | |<input type="password"> <input type="radio"> | | |<input type="reset"> <input type="submit"> | | |<input type="text"> | | |<isindex> |

| |<label>
  • | | |<listing> <marquee> | | |<menu> <nobr> | | |<object>
      | | |

                               |
      |                |                             runtimeStyle                  |
      |                |                                                     |
      |                |                                                 |
      |                |                                              |
      |                |style                                                    |
      |                |                                                  |
      |                |
      <textarea> | | | | | |
        | | | <xmp> | +----------------+--------------------------------------------------------------+ </source>

        "border-bottom-width" Possible Values

        <source lang="html4strict"> Possible Values medium Default value thin Thinner border than medium thick Thicker border than medium length A floating point number followed by a unit designator


        </source>



        "border-bottom-width" Syntax and Note

        <source lang="html4strict"> Note: Define the width of the bottom border. Syntax:

        element {border-bottom-width: value } elementID.style.borderBottomWidth = "value" document.all.elementID.style.borderBottomWidth = "value" // IE only


        </source>