473,221 Members | 1,864 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,221 software developers and data experts.

Controlling the "depth" of <UL> or <LI> ??

Is it possible, so that when you do multiple <UL>'s to control how
deep the UL's are marked? For example, it would defaultly look like
this with multiple ULs and LIs:

-- Code :

Main Menu<ul>Fruits<ul><li>Apples</li><li>Oranges</li></ul></ul>

..
-- Returns :

Main Menu
● Fruits
○ Apples
○ Oranges

..
-- But, what I want:

Main Menu
● Fruits
Apples
Oranges

..
I am pretty sure you can do stuff like .whatever div div div { your
css; } - so it will effect only a 3rd level embedded div (I believe
thats the purpose, at least). Is this how this would be done? My
experiments have all failed me. Any advice would be greatly
appreciated.

P.S. I am forced into this due to the way that Joomla! lays out its
menu system. If you know about the Joomla 1.5 menu system, you will
understand exactly what I am trying to do I think :)

Thanks in advance!
Jun 27 '08 #1
6 4435
On May 29, 7:23 pm, capricious <pokers...@beer.comwrote:
Is it possible, so that when you do multiple <UL>'s to control how
deep the UL's are marked? For example, it would defaultly look like
this with multiple ULs and LIs:

-- Code :

Main Menu<ul>Fruits<ul><li>Apples</li><li>Oranges</li></ul></ul>

.
-- Returns :

Main Menu
● Fruits
○ Apples
○ Oranges

.
-- But, what I want:

Main Menu
● Fruits
Apples
Oranges

.
I am pretty sure you can do stuff like .whatever div div div { your
css; } - so it will effect only a 3rd level embedded div (I believe
thats the purpose, at least). Is this how this would be done? My
experiments have all failed me. Any advice would be greatly
appreciated.

P.S. I am forced into this due to the way that Joomla! lays out its
menu system. If you know about the Joomla 1.5 menu system, you will
understand exactly what I am trying to do I think :)

Thanks in advance!
Damn, answered my own question. I was trying it with dots for some
stupid reason. It's just:

ul { list-style: disc; }
ul ul { list-style: none; }

Dunno where I got periods from.
Jun 27 '08 #2
In article
<33**********************************@x19g2000prg. googlegroups.com>,
capricious <po*******@beer.comwrote:
Is it possible, so that when you do multiple <UL>'s to control how
deep the UL's are marked? For example, it would defaultly look like
this with multiple ULs and LIs:

-- Code :

Main Menu<ul>Fruits<ul><li>Apples</li><li>Oranges</li></ul></ul>

.
-- Returns :

Main Menu
Fruits
Apples
Oranges

.
-- But, what I want:

Main Menu
Fruits
Apples
Oranges

.
I am pretty sure you can do stuff like .whatever div div div { your
css; } - so it will effect only a 3rd level embedded div (I believe
thats the purpose, at least). Is this how this would be done? My
experiments have all failed me. Any advice would be greatly
appreciated.

In addition to my last advice (at alt.html), if it is the lack of list
item markers you want at the second level (as appears on my newsreader)
then you do this by classing the second level and telling it "none":

..fruits {list-style-type: disc}

--
dorayme
Jun 27 '08 #3
capricious wrote:
On May 29, 7:23 pm, capricious <pokers...@beer.comwrote:
>Is it possible, so that when you do multiple <UL>'s to control how
deep the UL's are marked? For example, it would defaultly look like
this with multiple ULs and LIs:

-- Code :

Main Menu<ul>Fruits<ul><li>Apples</li><li>Oranges</li></ul></ul>

.
-- Returns :

Main Menu
● Fruits
○ Apples
○ Oranges

.
-- But, what I want:

Main Menu
● Fruits
Apples
Oranges

.
I am pretty sure you can do stuff like .whatever div div div { your
css; } - so it will effect only a 3rd level embedded div (I believe
thats the purpose, at least). Is this how this would be done? My
experiments have all failed me. Any advice would be greatly
appreciated.

P.S. I am forced into this due to the way that Joomla! lays out its
menu system. If you know about the Joomla 1.5 menu system, you will
understand exactly what I am trying to do I think :)

Thanks in advance!

Damn, answered my own question. I was trying it with dots for some
stupid reason. It's just:

ul { list-style: disc; }
ul ul { list-style: none; }

Dunno where I got periods from.

multiposted, answered in alt.html, note your markup is invalid.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #4
In our last episode,
<do**********************************@news-vip.optusnet.com.au>, the lovely
and talented dorayme broadcast on comp.infosystems.www.authoring.html:
In article <sl*******************@debranded.larseighner.com >,
Lars Eighner <us****@larseighner.comwrote:
>This is why discreet crossposting (dear OP) is better than multiposting,
although picking one right group and sticking with it is best of all.
OK! Well put.
(Why not read alt.html? It is a great group where everyone gets on like
a house on fire. <g>)
1. I do not care to hear of the wonderful features of frames.

2. Multiposting is even worse for people subscribed to several of the
affected groups because newsreaders will not kill multiposts once one copy
is read and possibly followed up.

3. Did I mention, picking one right group and sticking with it is best of
all.

--
Lars Eighner <http://larseighner.com/us****@larseighner.com
Countdown: 235 days to go.
Jun 27 '08 #5
In article <sl*******************@debranded.larseighner.com >,
Lars Eighner <us****@larseighner.comwrote:
In our last episode,
<do**********************************@news-vip.optusnet.com.au>, the lovely
and talented dorayme broadcast on comp.infosystems.www.authoring.html:
In article <sl*******************@debranded.larseighner.com >,
Lars Eighner <us****@larseighner.comwrote:
This is why discreet crossposting (dear OP) is better than multiposting,
although picking one right group and sticking with it is best of all.
OK! Well put.
(Why not read alt.html? It is a great group where everyone gets on like
a house on fire. <g>)

1. I do not care to hear of the wonderful features of frames.

2. Multiposting is even worse for people subscribed to several of the
affected groups because newsreaders will not kill multiposts once one copy
is read and possibly followed up.
Not sure what this is relevant to? Nearly everyone at alt.html (except
the oddest of beings, hates frames). And no one likes multiposting,
including me.
3. Did I mention, picking one right group and sticking with it is best of
all.
No, you never mentioned this.

Lars, stop resisting. I invite you to a party there, so come on over...

--
dorayme
Jun 27 '08 #6
dorayme wrote:
Lars, stop resisting. I invite you to a party there, so come on over...
<James Earl Jones>...to the Darkside...</James Earl Jones>

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #7

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

Similar topics

0
by: martin z | last post by:
I'm having a lot of trouble figuring out the details of controlling Python compiling. I can compile and embed just fine, but I want some finer granularity on what gets compiled into Python. I can...
0
by: Bart Simpson | last post by:
Hi, I would like to create/delete ftp accounts of windows IIS, and to control MS Media Service under windows 2003 by Python program. A few days ago, I found there is iisftp.vbs vb-script that...
2
by: Skip Montanaro | last post by:
I updated the patch that supports PEP 304, "Controlling Generation of Bytecode Files" to apply cleanly against current CVS. I've tested it on Mac OS X (straight Unix build only). I'd appreciate...
1
by: Seda Ozulku | last post by:
I don't have much information about .Net. May be it must be a silly question. I have Windows Application running at the server. I need to Access the program functions ( like at given time...
3
by: yadavindrian01 | last post by:
Hi everybody I am a student of computer engg. I have to make a project - controlling devices through computer using parallel port. I know necessary details of the parallel port. Please guide...
5
by: Mainard | last post by:
Hi, all First off I know alittle about javascript, but i have never worked with controlling froms with it be for i wonder can some help me? for example:I have this <textarea name"write1">Write...
8
by: Andrey Mosienko | last post by:
We are using PostgreSQL about two years beginning from version 7.0. I have one question about starting postmaster: Is there way to detach it from the controlling terminal under FreeBSD? My...
0
by: RWC | last post by:
Hi! I'm having some trouble controlling how the XP Packaging Wizard installs my applications. In 97, there were options to replace older, never or always, if there was a file conflict. Now...
1
by: Bern McCarty | last post by:
If I want to use C++ Interop/IJW and I want the .NET runtime that I get to be STARTUP_LOADER_OPTIMIZATION_MULTI_DOMAIN_HOST is there a way to do that short of writing to the hosting interfaces and...
8
by: GaryDean | last post by:
We have been noticing that questions on vs.2005/2.0 don't appear to get much in answers so I'm reposting some questions posted by some of the programmers here in our organization that never got...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
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...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
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...

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.