[uf-discuss] ISO Dates and Durations using Style

Martin McEvoy martin at weborganics.co.uk
Sun Sep 28 12:12:14 PDT 2008

Martin McEvoy wrote:
> Benjamin Hawkes-Lewis wrote:
>> Toby A Inkster wrote:
>>> Opera implemented support for CSS's "content" property on real 
>>> elements (as against pseudo-elements) a very long time ago (Opera 5 
>>> or 6 IIRC) but dropped it later on.
>> Actually, "content" appears to be working with Opera 9.52 Mac and 
>> <span class="bday" style="content:'1968-01-04';">4th Jan, 1968</span> 
>> right now. So I guess we can scrap the "if". The solution wouldn't 
>> work as desired even with today's browsers.
> Oh! this is true, tested on IE8, FF3 Chrome nothing changed
> Tested on Opera9.5 content: does work.. OK thanks all for letting me 
> bang my head against a wall again ;-)
> I give up!

One question what is actually wrong with using an extension eg:

<span class="bday" style="-uf-content:'1968-01-04';">4th Jan, 1968</span>

apart from the CSS validation issues, which when you compare it with the 
current <abbr> and @title accessibility issues doesn't seem so bad to me?


Martin McEvoy
> Best Wishes
> Martin McEvoy
>> -- 
>> Benjamin Hawkes-Lewis
>> _______________________________________________
>> microformats-discuss mailing list
>> microformats-discuss at microformats.org
>> http://microformats.org/mailman/listinfo/microformats-discuss

More information about the microformats-discuss mailing list