icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old March 2nd, 2006, 9:03 PM   #1 (permalink)
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
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
mr_fern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 2nd, 2006, 9:25 PM   #2 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
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
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 2nd, 2006, 9:31 PM   #3 (permalink)
All Ur Base R Belong 2 Us
Excelling Contributor
 
mr_fern's Avatar
 
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
mr_fern is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 2nd, 2006, 11:26 PM   #4 (permalink)
H
after g, before i
Resident.
 
H's Avatar
 
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.
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On