473,249 Members | 1,470 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,249 software developers and data experts.

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

People
Dogs
Cats
=>Kittens

Oct 26 '07 #1
6 2193
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 help... 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*

Oct 26 '07 #2
In article
<11**********************@d55g2000hsg.googlegroups .com>,
jc***@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.

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

--
dorayme
Oct 26 '07 #3
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 help... 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/

Oct 26 '07 #4
On 2007-10-26, dorayme <do************@optusnet.com.auwrote:
In article
<11**********************@d55g2000hsg.googlegroup s.com>,
jc***@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.
Oct 26 '07 #5
In article <sl*********************@bowser.marioworld>,
Ben C <sp******@spam.eggswrote:
On 2007-10-26, dorayme <do************@optusnet.com.auwrote:
In article
<11**********************@d55g2000hsg.googlegroups .com>,
jc***@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/...popups-bug.asp

--
dorayme
Oct 26 '07 #6
On Oct 25, 10:58 pm, BootNic <Boot...@bounce.earthlink.netwrote:
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 help... 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. :-)

Oct 26 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg Scharlemann | last post by:
I would like to automatically populate a drop down menu when the page loads based on the selection of an item in a different drop down menu. I made a test page that when drop down #1 changes, drop...
0
by: vikram.cvk | last post by:
Hello Experts, Im trying to design a CSS vertical drop down menu which should have the following functionality. Home About Us | -->Overview
6
by: Adrienne | last post by:
http://www.intraproducts.com/beta/infinicall/index.asp has a drop down menu on Investor Relations. The markup and CSS are both valid, and most of the time, the menu drops down correctly. However,...
2
by: hemanth.singamsetty | last post by:
Hello there, I've a drop down menu (created using CSS & Javascript -- see code below). My problem is, whenever I click a link on the menu the new page replaces the current page (and the menu...
1
by: phpnewb | last post by:
Hi, I know i'm doing it wrong, but I'm using a while loop right now to create several instances of a drop down menu. It gives me undesirable results. Can you tell me the right way to do it. Below are...
3
by: rsteph | last post by:
I have a javascript drop down menu that I borrowed from a website. It utilizes a little .css to help with formatting. The menu works great, and on all 3 of the browsers I'm concerned about; but I am...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
22
by: Archanak | last post by:
Hi, I am using 2-level CSS Drop Down Menu in my perl/CGI program. here is the code. #!c:/perl/bin/perl.exe use CGI qw(:standard);
0
by: mjohnson0321 | last post by:
I am trying to incorporate a CSS drop-down menu into a site (suckerfish menu). The menu gets lost behind the content below it, but only on one of the drop downs (News). The error occurs on all of...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.