skip to content rich footer

stevenclark.com.au

subscibe to the StevenClark.com.au rss feed

Archive for March, 2008

CSS and the Usual Suspects List

Monday, March 31st, 2008

An interesting CSS problem cropped up a few weeks ago and I thought it may be worth sharing. It may sometimes seem like the world is falling down but I’ve found in the general sense that there are a line of what I’d call the usual suspects that solve most issues in short order. You know the ones – display block, position relative, yada yada…

The problem wasn’t that much of a ball buster really and its something that seems to crop up occasionally for a lot of people doing CSS layouts. The following (X)HTML shows an outer div with an id of #page, inside that is another div called #header which includes an unordered list called #menu and below the #header is another div called #content. It might be easier if you just looked at the markup directly.

<div id="page">
    <div id="header">
        <ul id="menu">
        </ul>
    </div>

    <div id="content">
    </div>
</div>

Visually you could imagine that the #content div was riding behind the #header div in both Firefox and Opera but things looked alright in Internet Explorer 6 (one has to be fair and say it was probably doing so because Internet Explorer 6 was wrong).

Read the rest of this entry »

Social Networking

Keep an eye out for me on Twitter

About the Author

Steven Clark Steven Clark - the stand up guy on this site

My name is Steven Clark (aka nortypig) and my passions are business, web development, photography and writing. My current CV [PDF 775KB] is available for download. Currently I'm completing my 2 final units of a post-graduate university degree of MBA (Journalism and Media Studies) at the University of Tasmania.

Photography

My fine art photography is available online at Steven Clark Studio. You may also enjoy my photo blog Walk a Mile in my Shoes.

Recently Reviewed Books

Site Supporters

Hosted by Brett Drinkwater at Tashosting who is always there at the other end of my every inconvenient question and technical crisis. Brett's local community support for us over the last five years is greatly appreciated.

skip to top of page

Currently Reading

Light Science and Magic by Hunter, Biver and Fuqua - cover

The time has come for me to get more involved in upping my technical photography skills if I hope to embark on a Master of Fine Art and Design (Photography) next year. To that end my first book is the highly recommended Light Science & Magic: An Introduction to Photographic Lighting (Third Edition) by Fil Hunter, Steven Biver and Paul Fuqua. What really differentiates this book is the comprehensive set of exercises and the detailed explanation of the underlying science of light in the real world that encompasses the reader's journey.