Forum Moderators: open

Message Too Old, No Replies

CSS based calendar, anyone?

CSS based calendar layout

         

craig1972

5:04 pm on Mar 29, 2003 (gmt 0)

10+ Year Member



hello,

i am looking for some help with a calendar layout. i have this php code -- [cascade.org.uk...] -- but this is done using tables. i tried using a bunch of spans with different padding etc, also made display to table-cell type, but have not been able to get it.

here is a sample of where i am stuck:
<sorry, no personal URLs>

any ideas on how to implement would be appreciated. thanks!

[edited by: tedster at 5:21 pm (utc) on Mar. 29, 2003]

DrDoc

5:20 pm on Mar 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What's wrong with using tables?

Tables should be used for tabular data, which is what you have :)

craig1972

5:23 pm on Mar 29, 2003 (gmt 0)

10+ Year Member



thanks for the response, drdoc. just thought DIVs load faster than tables..isnt this true? especially for mozilla based browsers?

also, since my design is otherwise only DIV design, i thought it may be nice to use DIVS only for this simple tabular data too?

would appreciate your thoughts.

tedster

5:31 pm on Mar 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm with Doc on this one. Tables aren't taboo, they have an important place -- and that's to display tabular data.

DrDoc

5:31 pm on Mar 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, the control panel [webmasterworld.com] calendar is table based. I think there will be more code required for a div based calendar than a table based one. Also, you can always style the table with CSS. As far as rendering goes... I think it's a toss-up for something like a calendar.

craig1972

5:38 pm on Mar 29, 2003 (gmt 0)

10+ Year Member



thanks a bunch guys, guess i'll stick with table for now. makes sense. perhaps i've been reading too much of "move to css and divs" :)

what a forum this is! less than 15 mins and i solved my problem -- and been reading other threads! bookmarked, twice! :)