O'Reilly logo

eBay Auction Templates Starter Kit by Michael Miller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding Borders to Your Photos

When you apply cascading style sheet rules to the <img> tag, you can specify different types of borders to be displayed around your pictures. CSS allows a variety of different border attributes, as we’ll discover in the next batch of templates. (You can, of course, add these CSS border attributes to any <img> tag used in any template in this chapter.)

Template 7.5. Picture with Thin Border

The first CSS border attribute we’ll apply is that for a thin border, like the one shown in Figure 7.5. In this template, we apply the thin border to a single picture centered at the top of the item listing.

Figure 7.5. A single ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required