HTML CSS Reference/HTML Attributes Reference/marginheight

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

"marginheight" Example

   <source lang="html4strict">
   

<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>


     </source>
   
  


marginheight is applied to

   <source lang="html4strict">

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

     </source>
   
  


"marginheight" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the size, in pixels, of the top and bottom margins of a frame.

Syntax:

<element marginheight="value"> . . . </element>


     </source>