HTML CSS Reference/HTML Attributes Reference/marginwidth

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

"marginwidth" Example

<HTML>
<head><Title>Example For marginwidth</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>



marginwidth is applied to

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



"marginwidth" Syntax and Note

Note:
    
This attribute sets the left and right margins in pixels.
    
Syntax:
    
<element marginwidth="value"> . . . </element>