HTML CSS Reference/HTML Attributes Reference/marginheight

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

"marginheight" Example

    
<HTML>
<head><Title>Example For marginheight</Title></head>
<frameset rows="50,*" frameborder="yes" border="20px" framespacing="5" cols="*">
  <frame name="topFrame" scrolling="NO" noresize src="http://www.wbex.ru">
  <frameset cols="25%,*" border="15px" framespacing="0">
     <frame name="leftFrame" 
            marginheight="100" marginwidth="15" noresizescrolling="NO" src="http://www.wbex.ru">
     <frame name="mainFrame" src="http://www.wbex.ru">
  </frameset>
</frameset>
</HTML>



marginheight is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |<frame>                         <iframe>                      |
+----------------+--------------------------------------------------------------+



"marginheight" Syntax and Note

Note:
    
This attribute sets the size, in pixels, of the top and bottom margins of a frame.
    
Syntax:
    
<element marginheight="value"> . . . </element>