HTML CSS Reference/HTML Attributes Reference/marginwidth

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

"marginwidth" Example

   <source lang="html4strict">

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


     </source>
   
  


marginwidth is applied to

   <source lang="html4strict">

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

     </source>
   
  


"marginwidth" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the left and right margins in pixels.

Syntax:

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


     </source>