noslenwerd — 2012-10-12T16:47:00-04:00 — #1
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?
ralphm — 2012-10-12T19:20:43-04:00 — #2
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;
kohoutek — 2012-10-12T22:54:16-04:00 — #3
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 */
ralphm — 2012-10-12T23:08:23-04:00 — #4
Yes, padding and background color is a nice alternative to border.