No, this page is not about galaxies and nebulae even if the pictures above by Hubble are stunning (you should see the wallpaper versions!). This page showcases what can be done using CSS positioning schemes.
As you've already seen and read above (you did read the 4 text columns above and fiddle around with the scroll bars, didn't you?) positioning elements absolutely can produce incredible results. And what I've done here is not even leading edge. I can't push the envelope too far or most browsers around will fail to display anything decent.
Take at look at the title of this page (colored dark gray). "Galaxies & Nebulae" is fixed positioned at the top right of the browser window. Vertical scrolling should not affect it. It should remain visible whatever you do—scroll vertically or horizontally, or resize the browser window.
Unfortunately only some newer versions of browsers like Mozilla get this right perfectly. Even Opera 6.01 does not properly implement theright
and bottom
properties for fixed positioned elements.
If your browser supports fixed positioning then there should be a thin light brown colored band at the bottom of your browser window. It contains some copyright information. This brown horizontal band should not move however much vertical scrolling you do.
Also note that the NASA info is left justified while my info is right justified, with both on the same line. You can resize your browser window and they will stay justified accordingly. I had not padded any non-break spaces between them. Instead I marked up the NASA info in one paragraph and mine in another paragraph. I then floated the NASA paragpraph to the left and right justified the other paragraph. That way they both stay on the same line and will remain on either side even if the browser window is resized (until a minimum width is reached).
Finally, try hovering over the NASA copyright. If your browser supports hover
on elements other than a
then the phrase "as posted on www.space.com" should appear right after the word "NASA"