Paul M Foster wrote:
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
and if every site a user visited was screwed in IE6 because the
developers had made it without tables, maybe they'd all upgrade to
something newer.
you never know we might be bringing it on ourselves by still coding
sites to be compatible with old browsers.
When I go and buy a film I don't buy a vhs or a betamax.. because I
can't - that industry simply stopped making them and if I want to own a
new film I buy the dvd - I don't write to paramount and complain because
I only have a betamax.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php