Am I a DIV or what?

— Kicking out the tables means having to revise a lot of old habits.”

Little by little, I’m being dragged into the 21st century (no coincidence that my boss’ name is Little) of CSS.

Kelmscott by Bronwen Hodgkinson on csszengarden.com
Bronwen Hodgkinson‘s beautiful “Kelmscott” design at csszengarden.com

I’ve been doing CSS layouts for a while now, but on densely packed eCommerce sites, it’s never easy, particularly when you’re up against an audience used to three column layouts with header and footer.

Now it’s not the three columns or the header that are the problem of course. It’s the footer. Back in the day (only a few months ago for me in the build now care later world of digital agencies) we used to employ the DOMbuster 100% height table, which with a bit of tweaking you could even get working nicely on NN / Mozilla browsers.

In terms of annoyance, getting the CSS footer to sit at the bottom on shorter content pages without being broken by the column height spill (content frequently goes right under the footer and beyond!) ranks up there with managing form elements when they overlap with show/hide divs such as popup menus.

There are lots of possible solutions suggested. Some even work, but few stand up to the constraints you start to add when adapting them.

Suzy Campbell writes that she won’t be developing her three column solution any further as she thinks that CSS offers us other far more interesting opportunities outside of the (tabular) precedents we have.

I wholeheartedly agree. Why are we bothering totry tofind old solutions to new problems? Even a cursory look around shows us new ideas that focus on design rather than hacking (as it should be) and all with the cleanest semantic markup.

The code can be as beautiful as the design. All we need is for some of the browsers to catch up and make good design matter most.

Kelmscott by Bronwen Hodgkinson on csszengarden.com
Indeed.

Comments

No responses yet to Am I a DIV or what?

Why not give me your comments?

You can use these tags in your comment:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

See also:

More IE woes: the curved corner DIV

IE in freefall

Rendering CSS rounded corners is still surprisingly difficult thanks to inconsistently-applied browser standards.

  • Originally published: 19 Jul 2005 in Technical

Solution to nested DIV float problems

Nested floated div breaks wrapper!

A CSS hack for nested divs that break out of their container.

  • Originally published: 12 Sep 2005 in Technical

Testing CSS for print media: we need a Print Preview for developers!

Engraving of a printing press c. 1568

How I wish there was an easier way to test CSS intended for the printed page.

  • Originally published: 15 Jun 2009 in Technical

CSS floats: container does not stretch to fit floated contents

Nested div float problems

Here’s a quick resolution to an almost ungooglable problem.

  • Originally published: 18 Jan 2006 in Technical

Graphic Designers are not Web Designers

Heavy Backpack - screenshot

Glad you could join us: communications agencies have finally decided that the Internet is highbrow. Hold on tight!

  • Originally published: 24 Nov 2005 in Technical

Who you gonna call?

Photo

Hello you, I'm Mike Padgett. I'm not a Princeton curator, Knoxville mayoral candidate, Kentuckian pastor or Arizona journalist, I just share the same name. In fact, I am a consultant working in user experience and information design.

I also enjoy travel, concerts, films and walking.

I'm originally from Yorkshire, England but nowadays I live in Belgium. My current favourite Belgian beer is Black Albert.

Shameless self-promotion

Dopeology.org

Over a year in the making, Dopeology.org is my latest personal project: a topology of doping in thirty years of European pro road cycling.

I collected information from thousands of sources, then I modelled and published it via a lightweight user interface.

RSS feeds