margin-right (CSS2)

Specifies the width (in pixels, points, or a percentage) for the right margin of an element.

Syntax

length | percentage | auto | inherit

Examples having uses of: 'margin-right'

0 votes
1k views

CSS Margin

This example shows you how to use an internal CSS StyleSheet to apply margin options. The top line has no margin, whereas the second line of text has a margin on both sides of 50px.