I am looking to have a unique background color for my headers from h1 through h6. The width of this background should match the width of the text in the header, along with padding. Currently, the background width is matching the container instead of the text itself.
There isn't much need for me to provide code as it should be a straightforward task. The container has a fixed width. I have applied margins, padding, background colors, and font styles for h1, h2, h3, etc tags.
EDIT: Here is the link to the solution: https://web.archive.org/web/20090724165158/http://adriantrimble.com/headers (Gerald's solution has been implemented, but still faces issues with compatibility for IE6/7 and some newer browsers). Using display: inline creates more problems than it solves, while float: left and clear: left causes issues due to the 2-column layout. Appreciate all the assistance so far.