Re: [WSG] Marking up a Calendar

2008-08-06 Thread Michael MD



On Wed, Aug 6, 2008 at 8:42 AM, 8bits Media
[EMAIL PROTECTED] wrote:

We currently have a project that includes a calendar in the design. The
dilemma I currently have, is what is the best way to mark the calendar 
up?
Should we use tables, or is it more semantically correct these days to 
use

an unordered list?


A table every time. A day on a calendar recieves meaning from the
table (month), the row (week), and the column (day) that it is in, and
IMO a table is the only sensible way to reperesent such complex
relationships between data.




If you use tables make sure it still makes sense on browsers that don't 
render tables (some mobile phones, lynx, etc)


If you use css don't hide anything in css that should be in the content!
I've seen some examples of css-based calendars where there are no dates, day 
numbers, etc in the markup
(they used css and assumed list behaviour to generate day numbers) .. I 
think that is a bad idea ...
Dates on a calendar are important content that should never be hidden from 
users even if their browser doesn't support the css or behaviours being 
used.





...also...

If its for public events you could add a bit of hCalendar ... to make it 
more useful ...


(eg people being able to import the events into calendar software without 
retyping, search and aggregation tools being able to see them as events, 
etc)






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Marking up a Calendar

2008-08-05 Thread Bruce


8bits Media wrote:

We currently have a project that includes a calendar in the design.  
The dilemma I currently have, is what is the best way to mark the  
calendar up? Should we use tables, or is it more semantically correct  
these days to use an unordered list?


I'd be very interested to here peoples thoughts on the matter.

Thanks,

Nick Lazar
8bits Media


To me a calendar is columns and rows of data, so a table works fine.

Bruce
bkdesign solutions



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: SPAM-LOW: Re: [WSG] Marking up a Calendar

2008-08-05 Thread kevin mcmonagle

theres a good standards based calendar tut here:

http://veerle.duoh.com/blog/comments/a_css_styled_calendar/

-best
kevin



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: SPAM-LOW: Re: [WSG] Marking up a Calendar

2008-08-05 Thread 8bits Media
There's a few different opinions out there, but I think I agree with  
the responses from people on the list, tables make more sense.  I  
found this example of a calendar marked up using a list http://www.cssnewbie.com/list-based-css-calendar/ 
  but I think I'll be using a table in this instance.


Nick.

On 6 Aug 2008, at 09:16, kevin mcmonagle wrote:


theres a good standards based calendar tut here:

http://veerle.duoh.com/blog/comments/a_css_styled_calendar/

-best
kevin



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Marking up a Calendar

2008-08-05 Thread Joseph Taylor

Definitely a table for a calendar, like:

table
   captionAugust 2008/caption
   thead
  tr
 th scope=colSun/th
 th scope=colMon/th
 th scope=colTue/th
 th scope=colWed/th
 th scope=colThu/th
 th scope=colFri/th
 th scope=colSat/th
  /tr
   /thead
   tbody
  tr
 td1/td
 td2/td
 you get the idea.

We would mark up a calendar as a list only if we weren't planning 
displaying the dates based on the day of the week.  Like a funky 
futuristic calendar.


A time line would be marked up as a list for sure.

Joseph R. B. Taylor
/Designer / Developer/
--
Sites by Joe, LLC
/Clean, Simple and Elegant Web Design/
Phone: (609) 335-3076
Fax: (866) 301-8045
Web: http://sitesbyjoe.com
Email: [EMAIL PROTECTED]



Bruce wrote:


8bits Media wrote:

We currently have a project that includes a calendar in the design.  
The dilemma I currently have, is what is the best way to mark the  
calendar up? Should we use tables, or is it more semantically 
correct  these days to use an unordered list?


I'd be very interested to here peoples thoughts on the matter.

Thanks,

Nick Lazar
8bits Media


To me a calendar is columns and rows of data, so a table works fine.

Bruce
bkdesign solutions



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: SPAM-LOW: Re: [WSG] Marking up a Calendar

2008-08-05 Thread James Ellis
A table is a good option for static calendars. i.e a grid. On the flip side, 
using a list based calendar, you'll be able to present it in different ways by 
altering the style rules for the elements, e.g as a pseudo-grid, a list etc 
etc.
And of course, there's no reason why you can't do both options - the data used 
in the calendar is separate to the HTML, right ?

HTH
J

On Wednesday 06 August 2008 10:43:49 8bits Media wrote:
 There's a few different opinions out there, but I think I agree with
 the responses from people on the list, tables make more sense.  I
 found this example of a calendar marked up using a list
 http://www.cssnewbie.com/list-based-css-calendar/ but I think I'll be using
 a table in this instance.

 Nick.




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***