- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 27 Oct 2010 09:16:54 -0700
- To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
- CC: "MURATA Makoto (FAMILY Given)" <eb2m-mrt@asahi-net.or.jp>, www-international@w3.org, "www-style@w3.org" <www-style@w3.org>
On 10/27/2010 02:16 AM, "Martin J. Dürst" wrote: > > > On 2010/10/27 2:00, fantasai wrote: > >> For anyone who wants to do something more complicated, then more markup >> support is needed. But even then, HTML+CSS can do it: >> >> <abbr class="number" title="三十五">35</abbr> >> >> vertical.css: >> abbr.number { content: attr(title) } > > I understand how this will display the title attribute when in vertical > mode. But I'm not sure how at the same time you can hide "35". If you > say display: none, then none of the element, i.e. not even the title, > will be displayed, or not? The 'content' property here is set on the element, not on a ::before or ::after pseudo-element. It overrides the display of the actual element contents. ~fantasai
Received on Wednesday, 27 October 2010 16:17:40 UTC