Saturday 22nd of July 2017 04:33:08 AM

centered

This area should be horizontally and vertically centered.
This text stays left aligned
ie mac doesn't like this!
more nice and free css templates


css

Figure 6-56

Figure 6-56. Centering still holds, even if the image is "fixed"

There is only one other value forbackground-attachment, and that's thedefault value scroll. As you'd expect, thiscauses the background to scroll along with the rest of the documentwhen viewed in a web browser, and it doesn't necessarily changethe origin image's position as the window is resized. If thedocument width is fixed (perhaps by assigning an explicit width tothe BODY element), then resizing the viewing area