Sninadsgady
New Member
What I want to achieve
- Two overlapping background divs behind my centered text content.
- One at the bottom left side of the text content div.
- One at the top right side of the text content div.
- Both should be a little bit behind the text content.
- Both should be attached to the text div.
- The horizontal scrollbar should be visible only if the window's width is less than \[code\]div.text\[/code\]'s width.
- So additionally, If the two background divs go outside the visible area, they should not enable the horizontal scrollbar.
- See this simple JsFiddle example. Tested in Chrome 25 and FireFox 19.