At this fiddle, you can see a header-bar with a title on the left and some text on the right. The problem should be obvious,
How can I fix this? Is there a better way to achieve what I want to do?
Clarification: With "the header does not scale" I mean that it does not have a width of 750px as defined in #header
because the page is too small.
A few things:
overflow: auto;
to the container.max-width
instead of width
, as it scales nicely.Try this: http://jsfiddle.net/PkkU8/7/