|
|
#1 (permalink) |
|
All Ur Base R Belong 2 Us
Excelling Contributor
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
|
I hate browsers
So I got bored the other night and I started developing a calendar in PHP. It takes the year and month (if set) and creates a calendar for it. If no year is set, the year and month are the current month and year. For the sake of getting into using divs to format a document, I didn't use tables and used divs only.
So the calendar code worked, but the formatting of the CSS was horrible. I got the calendar to look the way it should in IE, but in Firefox it was off. In Opera, it worked just like it did in IE. Then I thought about using different display values (table-row, table-cell) for the divs, and got it to display the way properly in Firefox, but then Opera was slightly off, and IE was completely off. Guess I'll be using a table for the calendar.
__________________
Nobody doing nothing |
|
|
|
|
|
#2 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
|
Actually. Using a table in this matter is appropriate. Many feel that a table is indeed tabular data. I'm one of those people because if you take a table and remove the 7-day format, it works very well as a table. In my opinion the calendar should be done as a table
![]() |
|
|
|
|
|
#3 (permalink) |
|
All Ur Base R Belong 2 Us
Excelling Contributor
Joined in Feb 2005
Lives in Vegas & New York
824 posts
Gave thanks: 2
Thanked 6 times
|
Yeah I know. I have read things articles that say similar. I just wanted to see how it would work without tables, and these browsers and their different parsing *shakes fist*
I figured you'd reply. Mister Validator Man *thumbs up* Working on any new projects?
__________________
Nobody doing nothing |
|
|
|
|
|
#4 (permalink) |
|
after g, before i
Resident.
Joined in Jul 2004
Lives in N,BC,CA
8,092 posts
Gave thanks: 48
Thanked 131 times
|
Hehe... It's one of the things that can be done, but requires more mark-up and hacks than you ever want to use. So yes, tables do have their uses.
I have a special detector that finds questions that are remotely related to standards, I can't help but to reply. My currently projects are school based... a visitor map, community tutorial site and an arts database. I'd like to two of them, but I'm feeling awfully lazy. |
|
|
|