Image Top Margin Html. Auto the browser calculates the margin. Set the background image as relative so as the div knows how big it must be.
How to add a background image to the top section of your webpage with html. See the online demos and the source codes below. So far so good.
0 0 30px 0 to have margin bottom be 30px.
Specifies a margin in of the width of the containing element. Percentage values refer to the parent elements width. Play it specifies a top margin in percent of the width of the containing element. To change margins click on the margins button found on the page layout tab.