On Sat, Sep 02, 2006 at 11:21:55AM +0100, Designer wrote:
> David Dorward wrote:

> >No such thing as a CSS class. HTML has classes, CSS has selectors
> >which can match HTML classes.

> Some classes can be via PHP and some can be via CSS. (I think you knew 
> that's what I meant :-) )

No. 

PHP has classes (which I assume are used as they are in most OO
programming languages).

HTML has classes (which are used to mark elements as belonging to
groups, but aren't generally used by clients to *do* anything by
default).

CSS has class selectors, which let a number of declarations be applied
to HTML elements that are members of that class. Confusing class
selectors with classes seems to lead a lot of people into trying to
apply OOP concents such as inheritance to CSS (which leads to a lot of
confusion as CSS does have inheritence, but it has to do with
inheriting properties from parent elements in the DOM and not from
classes).

> >Why isn't the lack of text content of the cells meaningful already?   
> 
> It may be. You can tell me by looking at my temp test file here:
> 
> http://www.rhh.myzen.co.uk/rhh2007/booking/calendar_temp.php
> 
> (I'd be grateful for anyone's feedback on whether blank cells are enough 
> in this instance.)

They aren't blank. There is nothing at all (outside the stylesheet) to
indicate which dates are booked and which are not. They all have links
in them. Try testing with CSS turned off or in a browser that doesn't
support CSS.

Since the dates that are booked have links that take the user to an
error page, why have links at all?

My gut feeling would be that you should add more text content to the
cells to indicate which dates are available and which are not.

-- 
David Dorward                                      http://dorward.me.uk



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

Reply via email to