Yesterday I inquired about a website design featuring a shadow, but I have since created a better example and would like to pose the question again.
My requirements are as follows:
- A vertically centered website;
- A shadow on the content block which may have varying heights;
- A horizontal scrollbar that only appears when the browser window is smaller than the content block (excluding the shadow block);
- Everything should remain aligned with a background.
Currently, everything looks good except for the movement of the <div>
elements when the browser window size is adjusted. This issue is likely due to differing <div>
widths.
Is there a solution for this problem?