|
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]
|