big background without scrolls

Posted by mkoso on Stack Overflow See other posts from Stack Overflow or by mkoso
Published on 2010-05-06T04:43:31Z Indexed on 2010/05/06 4:48 UTC
Read the original article Hit count: 180

Filed under:
|
|
|
|

I have layout that has wider background picture than the content area. I have made 970ppx wrapper where the content is. And in body I have backgroud image but I need to have anothen background image above of tht body background image so I have made class bgimg. So basically the markup is like this:

But the bgimg is about 1050px wide and thus it gives scrolls when users browser is 1024x768. Is there way of getting rid the scrolls? I mean I want to have have scrollbars if users browrser is narrower thant the 970x wrapper of course. So can I put something like overflow hidden for bgimg class?

Hopefully you did understannd what I mean.

© Stack Overflow or respective owner

Related posts about big

Related posts about background