Please see the link below. Notice how the line under my headers is running behind the photos? How can I cut them off where the text starts to wrap?
You can't really stop those lines going full width. You could fake it, though, by putting a border around the image that's the same color as the body background. E.g.
border-width: 15px 0 15px 15px;
margin: 15px 0 10px 10px;
I'd just apply the body background color to your image's background so that the lines don't show through. And if you'd like even more distance, then you can add some padding to the image which will further separate the lines from the image.
/* add the below to your existing declarations */
Yes, padding and background color is a nice alternative to border.
This topic is now closed. New replies are no longer allowed.