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.


Other examples in Margins padding (Advanced CSS)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 5.0