On Sun, May 17, 2009 at 08:40:33PM +0100, Nathan Rixham wrote: > tedd wrote: >> At 11:28 PM +0100 5/15/09, Nathan Rixham wrote: >>> tedd wrote: >>>> However, there are occasions such as in a calendar where not using a >>>> table would be more than difficult. I haven't received a decree yet >>>> as to IF that would be considered column data or not. >>> >>> I'm gonna differ on this one, when you simply float each calender item >>> to the left you're pretty much done, in many cases i find it easier >>> than tables. >> >> Okay -- so you find them easier to use for this purpose. >> >> This is my little php calendar (not all the code is mine): >> >> http://php1.net/my-php-calendar/ >> >> and I use tables. >> >> I would not want to redo this script using pure css, but I probably will >> do it at some point. We all have investments into our code. >> >> Do you have a css calendar to show? >> > > hi tedd, > > didn't have one to hand so quickly knocked up a basic one here: > http://programphp.com/Calendar/ > > all sizes etc are in em so it'll fully resize - you'll see in the source > anyways - all css. > > have to say it's not great but it's just a quick demo to show it's more > than possible.
It's very pretty, Nathan. *Except* in IE6, which is what probably most of the world is using. In IE6, the day labels are lined up one on top of each other, and there are no date "cells" at all. No numbers, no nothing. And therein lies the reason why people use tables. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php