You are here: Re: Aboriginal languages & wrapping table cells themselves « HTML « IT news, forums, messages
Re: Aboriginal languages & wrapping table cells themselves

Posted by Alan J. Flavell on 11/22/64 11:40

On Sun, 19 Feb 2006, Alan J. Flavell wrote:

> It seems to me that Ruby annotation is just what you need for this.
> http://www.w3.org/TR/ruby/

Hmmm, for your requirements in fact the CSS stylesheet which is
suggested at:
http://www.w3.org/People/mimasa/test/schemas/NOTE-ruby-implementation#css2-inline-table
turns out to be effective.

With this particular stylesheet, the annotations are positioned above
the words to which they refer, rather than below, but a slight
adjustment of the stylesheet could change that if you wanted.

I've added some colouring to the annotations, but this is of course
entirely optional! Also I increased the annotation's font size from
the suggested 60%, to 75%.

I threw together a quick demonstration, which seems to give reasonable
results on Mozilla 1.7, Opera 8.52, etc. as well as IE6, and displays
the desired fallback behaviour on non-supporting (or
stylesheet-disabled) browsers.

http://ppewww.ph.gla.ac.uk/~flavell/www/umusalu.html

In practice of course you should be putting appropriate lang= (or
xml:lang= if you use XHTML) attributes on all of the affected
elements.

regards

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация