Working with Widths and Margins

We’ll end this chapter with a handful of templates that play around with text widths and margins. Why tinker with margins, you ask? Because putting a little white space here and there or using an inset for selected page elements helps both to divide your listing into separate sections and to subtly move the eye toward the most important elements on the page.

When it comes to making a text element wider or narrower, or insetting it from the left or right margin, we have to turn to cascading style sheet code. CSS lets us use margin-left and margin-right properties, which set the left and right margins for an element—something you can’t easily do with traditional HTML.

Template 6.27. Narrow Centered Description

Get eBay Auction Templates Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.