Large background image without horizontal scroll bar?

  • # November 29, 2009 at 10:26 pm

    I am trying to set a background image inside a div I have the height set to about 400px and the width to 100%.

    When I set the background image on the div the div stretches to the width of the image and put horizontal scroll bar along the bottom. I want the image to be hidden though and only appear on larger resolution monitors.

    Would appreciate any help with this problem.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed