The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Centered page on centered background photo??

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #41089

    Several years ago I built this site in tables <>, 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).

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.