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