CSS Twitter style fixed BG with scrolling content container.
Posted on 2010-09-03
I would like to update my site layout and at the same time give the option for my users to be able to add a BG image of their own. I really like the way Twitter has executed this and would like to be able to create a similar solution.
I need the body background to be fixed with a container the floats centrally and scrolls - I am sure any of you that know twitter will be familiar with it.
I have tried giving the body tag a bg to position:fixed; attribute with a container within set with a position relative and margin:0 auto; but can't seem to get the desired effect.
Does anyone know where I can see a basic working layout / example or tutorial?
Any tips would be greatly appreciated!