You are here: Re: How to make recurring decimal in html doc? « HTML « IT news, forums, messages
Re: How to make recurring decimal in html doc?

Posted by Nik Coughlin on 08/07/07 04:37

Nik Coughlin wrote:
> dorayme wrote:
>> I cannot seem to find quickly enough how to write a recurring
>> decimal in HTMl. Anyone please? I am using Unicode UTF-8 for most
>> of my html files but am happy to follow other advice where this
>> recurring decimal point is needed.
>>
>> (you know... the dot on top of the 3 or 6 for the decimal
>> representation of thirds and two thirds).
>
> Repeating decimals can be expressed with ellipsis notation but you
> can also put a vinculum bar over the repeating digits:
> http://en.wikipedia.org/wiki/Vinculum_%28symbol%29
>
> You could do this in css:
>
> <style type="text/css">
> .recurring {
> border-top: 1px solid black;
> }
> </style>
> Recurring decimal: 0.<span class="recurring">6</span>
>
> Not ideal I know (what about people without css, using non-visual
> browsers etc), but if you can't find another way you might want to
> consider it

Ummm text-decoration: overline would be smarter now that I think of it :P

 

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

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