Reply to Re: Drop down menu text

Your name:

Reply:


Posted by Ben C on 10/26/07 08:44

On 2007-10-26, dorayme <doraymeRidThis@optusnet.com.au> wrote:
> In article
><1193374270.842641.142920@d55g2000hsg.googlegroups.com>,
> jcage@lycos.com wrote:
>
>> So if you wanted to have the following in your drop down menu with one
>> that was indented, how might you do it? I haven't found anything that
>> works and am hoping for help... TIA
>>
>> People
>> Dogs
>> Cats
>> =>Kittens
>
> It depends on what the setup is. If the Kittens is in say a div,
> then a left margin or a left padding might be appropriate. If it
> is a list item, then there is also these possibilities.

No-one seems to have mentioned text-indent yet.

.selected { text-indent: 1em; }
.selected:before { content: "=>"; }

Might not work in IE.

[Back to original 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

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