You are here: Re: Drop down menu text « HTML « IT news, forums, messages
Re: Drop down menu text

Posted by dorayme on 10/26/07 09:35

In article <slrnfi3a8j.80k.spamspam@bowser.marioworld>,
Ben C <spamspam@spam.eggs> wrote:

> 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: "=>"; }
>

O yeah!

> Might not work in IE.

It plays tricks (or should I say "played") tricks in MacIE. There
is this about WinIE, it may be of interest:

http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp

--
dorayme

 

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

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