[css-d] Repeat-x problems when the window is smaller than 800x600

2007-07-17 Thread Erik Gyepes
Hello, I'm designing a layout where the /header/ and also the /banner/ (under it) use repeat-x to be repeated on the x axis. The problem occurs when I resize the window to 800x600 to see how it looks like on 800x600 desktop and then resize the window a little more - because I want a

Re: [css-d] Repeat-x problems when the window is smaller than 800x600

2007-07-17 Thread Scott Povlot
Erik, The problem you are having is not related to repeat-x, but width. Your subwrapper div has a fixed width of 780px. Your body has a min-width of 100%. But the body width does not take into account the width of the subwrapper. (Not 100% sure why). If you change the body min-width=780px,

Re: [css-d] Repeat-x problems when the window is smaller than 800x600

2007-07-17 Thread Erik Gyepes
Hi Scott, Thanks for your advice, it really works, but I still don't know how to solve it in IE6. As you know IE6 doesn't support min-width, so I tried this expression: width :expression(document.body.clientWidth 780? 780px: auto ); for the body, but it didn't worked. Do you have any ideas?