W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2003

RE: Question about semantics & meaning of live text logo.

From: Scarlett Julian (ED) <Julian.Scarlett@sheffield.gov.uk>
Date: Tue, 3 Jun 2003 10:05:07 +0100
Message-ID: <F9BE3B1AB649D311A573009027852E4D028798BD@EDUC_MXS>
To: w3c-wai-ig@w3.org

> Hmm...just writing this, I had a sudden thought: this may be
> an exotic yet valid situation in which to use CSS2's :before and
> :after pseudo elements
> http://www.w3.org/TR/REC-CSS2/selector.html#before-and-after
> In my case above, something along the lines of:
> <span id="typographicallogo">testbench</span>
> #typographicallogo:before {
>   content: ">>>"; /* now, why doesn't &gt; work in this case ? */
> }
> (see http://dev.salford.ac.uk/testing.html for a live version...
> saves you typing it up)
> Obviously, this will only work in CSS2 compliant browsers...but
> is it a viable solution ? The typographical embellishments, if you
> want to call them that, are not strictly part of the content, but
> of the presentation...so to my untrained eye the solution of sticking
> them completely in the CSS is a reasonable one. Ideas, thoughts,
> suggestions ?

The main problem is that for most organisations the logo is *very* important. Your method will only work in IE6, later versions of Mozilla and Opera. :before  and :after pseudoclasses aren't supported by IE5.5 or lower so the information is lost for a large percentage of their potential browser audience.

The information in this email is confidential. The contents may not be disclosed or used by anyone other than the addressee.  If you are not the addressee, please tell us by using the reply facility in your email software as soon as possible. Sheffield City Council cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network.  If you suspect that the message may have been intercepted or amended please tell us as soon as possible.
Received on Tuesday, 3 June 2003 05:01:09 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:24 UTC