Let’s assume that, after some consideration, we’ve decided that the ragged-edge look is a little too rustic for our intended recipients. Maybe we’d prefer something a little more modern and angular for all our hip friends.
A New Image
We’re changing the image as well: card-image.jpg has been changed to card-image2.jpg. Check the source of ch08prog10.html to verify this.
To accomplish this, we need to go back to the basic markup and styles as they stood in Figure 8.2 and then style a 2-pixel black border around the image. To account for this, we have to adjust the width of the outermost div because the image (575 pixels wide) plus ...