I\'ve got a container element that\'s a certain width, with overflow-x: auto. In it I have a block level header element (h1) that\'s supposed to, being a block
overflow-x: auto
See the fiddle.
Use the HTML caption element:
caption
header text text text text text text
CSS:
#one { width: 200px; overflow: auto; border: solid 1px; } #one h1 { font-size 1.1em; background-color: blue; margin-top: 0; text-align: left; } table td { border: solid 1px; padding: 20px; }