Forum Moderators: not2easy
I have a page with header and content divs.
Both of them have 100% width in css file.
But content div contains table, which width is more than screen width (about 1400px), so scrollbar appears
at the bottom of the window.
So the content div fits the table width and becomes wider,and how can I make header div wider too?
When scrolling page to the right, header div breaks, while content div endures.
And I can't put fixed width to header div, because I use the same header div in other pages.
I have at times put an extra row in the same table (as your header in this case) with <img src="very-small.gif height="1" width="1400" alt="_"> and centered the header across the table.
It sounds like you are using a template or perhaps you are using php includes to build your site and you use the header in a number of places. In that case it may be difficult and you may need to redesign your template / file structures.
A bit bodgey but it works.
Hope that helps?