glopal Posted July 20, 2009 Share Posted July 20, 2009 For my h4 headers, I have white text on a blue background. The background goes all the way across the screen, or all the way across the container in my case.Now lets say I have an image floating to the right. The header background will go under the image and pop out a little on the other side. I want the h4 to treat an image as a boundary, so the background of the h4 stops at the image (or a little before if there is a margin).My only solution at the moment is going display:inline. But I like when it goes across the screen, so I'm not happy with this solution.Any ideas? Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.