473,387 Members | 1,585 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,387 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 2196
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.