W3Schools.com

XSL-FO margin Properties

Back

Definition and Usage

The margin-top property specifies the top margin of a box.

The margin-bottom property specifies the bottom margin of a box.

The margin-left property specifies the left margin of a box.

The margin-right property specifies the right margin of a box.


Details

  • Inherited: no
  • Percentages: refer to width of containing block
  • Media: visual

Property Values

Value Description
auto The browser sets the margins
length Default 0 pt. Specifies a fixed width.

Note: Negative values are allowed, but there may be browser-specific limits!

percentage Specifies a width in %. The % is calculated with respect to the width of the box's containing block


Back
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE