PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > alt.php > Drop down menu text
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Drop down menu text

Réponse
 
LinkBack Outils de la discussion
Vieux 26/10/2007, 05h51   #1
jcage@lycos.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Drop down menu text

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 ... TIA

People
Dogs
Cats
=>Kittens

  Réponse avec citation
Vieux 26/10/2007, 06h58   #2
BootNic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Drop down menu text

jcage@lycos.com wrote: news:1193374270.842641.142920
@d55g2000hsg.googlegroups.com:

> 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 ... TIA
>
> People
> Dogs
> Cats
> =>Kittens


    Kittens

--
BootNic Friday October 26, 2007 1:57 AM
A conclusion is the place where you get tired of thinking.
*Arthur Bloch*

  Réponse avec citation
Vieux 26/10/2007, 09h00   #3
dorayme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Drop down menu text

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

Have I jumped into the middle of a thread here? Is there a url?

--
dorayme
  Réponse avec citation
Vieux 26/10/2007, 09h06   #4
Jukka K. Korpela
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Drop down menu text

Scripsit BootNic:

>> 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 ... TIA
>>
>> People
>> Dogs
>> Cats
>> =>Kittens

>
> &nbsp;&nbsp;&nbsp;&nbsp;Kittens


No, that wouldn't do it. It does not create "=" and ">". This would:

&nbsp;=>Kittens

On the other hand, the OP is apparently trying to generate a navigational
dropdown menu. That's a wrong approach. "Links want to be links."

Followups trimmed.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

  Réponse avec citation
Vieux 26/10/2007, 09h44   #5
Ben C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Drop down menu text

On 2007-10-26, dorayme <doraymeRidThis@optusnet.com.au> wrote:
> In article
><1193374270.842641.142920@d55g2000hsg.googlegroup s.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 ... 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.
  Réponse avec citation
Vieux 26/10/2007, 10h35   #6
dorayme
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Drop down menu text

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.googlegroup s.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 ... 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/...popups-bug.asp

--
dorayme
  Réponse avec citation
Vieux 26/10/2007, 14h10   #7
jcage@lycos.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Drop down menu text

On Oct 25, 10:58 pm, BootNic <Boot...@bounce.earthlink.net> wrote:
> jc...@lycos.com wrote: news:1193374270.842641.142920
>
> @d55g2000hsg.googlegroups.com:
>
> > 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 ... TIA

>
> > People
> > Dogs
> > Cats
> > =>Kittens

>
> &nbsp;&nbsp;&nbsp;&nbsp;Kittens
>
> --
> BootNic Friday October 26, 2007 1:57 AM
> A conclusion is the place where you get tired of thinking.
> *Arthur Bloch*


Hey cool - works GREAT. Thank you very much and thanks to everyone
else who replied. :-)

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h19.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13497 seconds with 15 queries