Many a times we would need to set margin for our objects. margin-bottom property can be used to set the bottom margin of the object. |
Usage: |
margin-bottom: 10px; margin-bottom: 10pt; margin-bottom: 10%; margin-bottom: auto; |
It takes the following values: |
|
The following CSS code example shows how to set the value of the bottom margin: |
<html> <head> <title>CSS margin example</title> <style type=”text/css”> .bottommargin { margin-bottom: 1cm } </style> </head> <body> </html> |