Yet Another Fixed Layout
Here's another centered, fixed layout. All my designs seem to be variations on this kind of structure; I promise I'll do something different next time. This one has a floaty nav bar on top for quick access to links, as well as the top of the page. I can see some people being annoyed by this, so fortunately it's easy to change so that it doesn't stay on top of the window. Just change the position: fixed
to position: absolute
and ditch the IE hack (or you could change it to auto margins instead, if you want the header image to flow beneath it). One thing that I included in this layout is a couple handy classes for your Flickr images. See the example pullouts in the text as well as the thumbnails in the sidebar. In the interest of filling up space, I may as well tell you that the sidebar has been done in kind of a funny way to make it vertically stretch over the entire content div. This is impossible to do in a traditional way (including using 100% height in CSS, which isn't defined the way it should be). Check it out; I thought I was pretty clever to think of it! You could use the sidebar for annotations, footnotes, links, photos, or whatever you like.
Now I'll steal some text from Wikipedia1! Futurama is an American animated television series created by Matt Groening (creator of The Simpsons) and David X. Cohen (also a writer for The Simpsons). Set in "New New York City" in the 31st century, it was introduced on the Fox Network and received airplay between March 28, 1999 and August 10, 2003. It is currently in syndication on the Adult Swim segment of Cartoon Network in the United States, on Teletoon in Canada, on Channel 4, Sky One and Sky Two in the UK, and on Fox8 and Network Ten in Australia.
Good News, Everyone!
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum accumsan, justo non tristique laoreet, odio nisi fringilla nibh, vitae blandit eros sapien ac mi. Etiam non nisl euismod massa fringilla sagittis. Nunc vestibulum iaculis purus. Vivamus arcu urna, tristique eu, pharetra et, ullamcorper porta, nibh. Nulla eget dolor sit amet purus aliquam lacinia. Cras eu quam. In id nisl et orci laoreet vulputate. Phasellus quis est vel libero euismod mollis. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras magna ante, sodales eget, commodo ac, molestie ut, velit. Cras quis pede sit amet massa feugiat imperdiet. Nulla dignissim. Curabitur eleifend, lorem quis dictum varius, elit nunc commodo enim, iaculis mattis dui felis et urna.
Aliquam erat volutpat. Maecenas ut mi ut odio gravida tincidunt. Proin urna urna, dapibus sit amet, eleifend quis, bibendum et, felis. Ut aliquet. Etiam diam erat, interdum ac, vehicula in, vulputate et, libero. Donec ut dolor quis leo blandit lobortis. Vestibulum sed tellus. Donec vitae lectus. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam mollis aliquam nulla. Mauris pulvinar metus quis urna. Praesent eu turpis aliquam est mollis aliquam. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Vestibulum tempor nibh. Nam quis neque.
Surrender Your Mysteries to Zoidberg!
Quisque convallis tellus2. Etiam aliquam lobortis erat. Donec gravida tortor a massa. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam arcu libero, congue in, iaculis sit amet, dapibus non, ligula. Aliquam erat volutpat. Fusce nisl ante, pretium ac, suscipit sed, feugiat a, sem. Donec sollicitudin leo eu nisl. Donec at dui a urna rhoncus viverra. Curabitur arcu. Quisque vulputate, purus ac ultricies consectetuer, justo neque suscipit nisi, eget tempor nulla nisl vitae tellus. Aenean eget erat. Vestibulum imperdiet viverra metus.
Nunc adipiscing hendrerit pede. Vestibulum tempor bibendum libero. Duis consectetuer felis laoreet nibh. Pellentesque lacus libero, sagittis ornare, tempor et, porta in, elit. Donec eu leo. Etiam erat. Sed aliquam odio quis risus. Aliquam arcu. Aenean elementum. Curabitur pellentesque ligula ac risus. Morbi sodales vehicula ipsum.