Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project










PROPERTY: margin-bottom

margin-bottom : length | percentage | auto
 
Compatibility:  IE4+  N4+
Version: Level 1
Inherited: No
 
The margin-bottom property allows you to set the dimensions for the bottom margin.
 
length
 
The length value can be in any of the following seven units. Use the abbreviation.
 
Length Abbrev.
centimeters cm
ems em
inches in
millimeters mm
picas pc
pixels px
points pt

 
percentage
 
The percentage value is based upon the total height being defined as 100%.
 
auto
 
The auto value directs the browser to automatically calculate the bottom margin. By declaring auto, you can ensure that any previous declaration will not effect the bottom margin.
 
Code:
p { margin-bottom: 25mm; }
p { margin-bottom: 1.0in; }
p { margin-bottom: 15pc; }
p { margin-bottom: 36pt; }
p { margin-bottom: 11.5%; }
p { margin-bottom: auto; }

 
Output:
Click to see example in separate window


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information