Michael Falconer

the difficult takes time, the impossible just a little longer

My Links

Blog Stats

News

Michael Falconer is a freelance/contract .net developer working in and around Glasgow, Scotland, mainly on asp.net applications. His company is called, for some strange reason, Camel-Jones.

Archives

Post Categories

Blogs

Other Links

Regulars

Accessibility and max-width in Internet Explorer

I'm starting off two fairly major web projects at the moment, and have decided that it's finally time to ditch the good old tables that are so popular for laying out pages. Instead I'm going to develop both sites using stylesheet positioning only. Before I launch into cutting some code, I've been doing some research into the best way to achieve certain desired effects, and come across some excellent resources.

One of those is svendtofte.com, a Swedish site (in English) by Svend Tofte. He's written some very good articles covering various CSS and JavaScript topics, one of which I was particularly interested in; max-width in Internet Explorer.Both sites I'm developing will have a fair bit of readable content and I want to ensure they're as accessible as possible, so I'm going to avoid specifying fonts and element positioning in pixels and use em's. In order to achieve this I want to be able to set a min and max width for the content but, as it turns out, IE does not support the min-width and max-width properties. Luckily Svend has come up with a solution by using IE's expression property. I won't steal Svend's thunder, so why not check out the article...

posted on Wednesday, June 30, 2004 7:10 PM