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 »

skip to top of page

Currently Reading

Information and Data Modelling (Second Edition) by David Benyon (Cover)With an eye toward implementing another web interface database solution from the ground up I'm casually revisiting David Benyon's Information and Data Modelling (Second Edition). Its critical to have a solid understanding of conceptual data modelling and knowing how to identify various things like fan traps and three way traps very early in the process. To that end, while its fine to have a basic understanding of third normal form and general ideas about relations (that which relational databases rely on), its also a great idea to spend time exploring the theory and case studies that lead to a higher understanding.

Often people I deal with just snuff their nose and say they can design a database - but often its a very naive approach. Having read this book about four years ago its time for a quick refresher over my holiday period. No, I doubt few will envy me.