Re: [css-d] wide page: extending element background beyond right edge of window?

2006-10-31 Thread David Feldman
Thanks! I'm getting closer, and indeed display:table will do that trick in everything but IE. A follow-up question... > IE6 does expand the container in that example-page, but if IE/win > doesn't do that in an actual page, add... You're right, in my original example everything's fine in IE. I h

Re: [css-d] wide page: extending element background beyond right edge of window?

2006-10-26 Thread Gunlaug Sørtun
David Feldman wrote: > http://interfacethis.com/misc/css-test/wide-page.html In standard compliant browsers: mimic HTML-table behavior with CSS-table... #a { background:orange; display: table; } ...and #a will expand like a table. IE6 does expand the container in that example-page, but if IE/w

Re: [css-d] wide page: extending element background beyond right edge of window?

2006-10-26 Thread David Feldman
I can't show you the actual page, but I can't point you to a similar example I just made: http://interfacethis.com/misc/css-test/wide-page.html As you can see, with a normal window size the table is wider than the window. If you scroll the page to the right, the orange background stops. I n

Re: [css-d] wide page: extending element background beyond right edge of window?

2006-10-26 Thread Gunlaug Sørtun
David Feldman wrote: > [...] Any ideas? Plenty, but I don't know which one to suggest unless you give me an idea about the layout it's supposed to improve. Can you give us a link to a typical "problematic" page of yours? regards Georg -- http://www.gunlaug.no

[css-d] wide page: extending element background beyond right edge of window?

2006-10-26 Thread David Feldman
I have a Web page whose content is sometimes wider than the browser window, necessitating a horizontal scrollbar. Several elements fairly high up the DOM tree have horizontally repeating background images. The problem is, when the content is wider than the window these background images sti