Jump to content


Photo
- - - - -

Mutli-dimentional Effect


  • Please log in to reply
1 reply to this topic

#1 tsalstrand

tsalstrand

    Super Member

  • Members

  • 225 posts
  • Framework Version:latest
  • Country: Country Flag

Posted 28 September 2012 - 03:54 PM

On my test home page (

Please Login or Register to see this Hidden Content

) I am attempting to replicate the same effect as seen on the footer here:

Please Login or Register to see this Hidden Content

Notice how the footer there is 1030px wide.

On my test home page I've put a content box where I want to create that affect and have set the background to be 1045px with the following code:

Please Login or Register to see this Hidden Content


Problem is that it overlaps but is off centered. How do I center it up? Obviously, I've attempted

Please Login or Register to see this Hidden Content

but it doesn't work. I'm not worried about the .png needed to create the effect, only I can't get the background to be centered.

Any help is greatly appreciated!

Steve

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 28 September 2012 - 07:42 PM

Instead of adding margin-left or margin-right, you may want to use margin: 0 auto