473,466 Members | 4,855 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
$B!|(B Fruits
$B!{(B Apples
$B!{(B Oranges

..
-- But, what I want:

Main Menu
$B!|(B 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 4455
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
$B!|(B Fruits
$B!{(B Apples
$B!{(B Oranges

.
-- But, what I want:

Main Menu
$B!|(B 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
$B!|(B Fruits
$B!{(B Apples
$B!{(B Oranges

.
-- But, what I want:

Main Menu
$B!|(B 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: 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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.