You are here: Re: Scalable fonts in nested lists... « HTML « IT news, forums, messages
Re: Scalable fonts in nested lists...

Posted by David Dorward on 12/19/05 23:29

Curtis wrote:

> How does one use scalable fonts with nested lists?
>
> Apparently if ul is {font-zize: 130%;} for example,
>
> * A This is 130% of context
> * A This is 130% of context
> ** B This is 130% of A
> ** B This is 130% of A
> *** This is 130% of B
> *** This is 130% of B

Yes, this is normal. If you want the top level list to be 130% of its
parent, but all its sublists to use the same font size then ...

ul { font-size: 130%; }
ul ul { font-size: 100%; }

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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