CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
Several years ago I built this site in tables < http://BrysonCityCabinRentals.com>, which made it easy to have a fixed center section and flexible side sections that expanded or shrunk to fill out the window — a centered page on a centered background photo. (hard to explain; please look at the page). Can anyone tell me how to achieve the same effect in CSS?
very simple. just place a background image on the body centered. And then place the content in a wrapper div with auto left and right margins (and a declared width).
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed