473,563 Members | 2,709 Online
Bytes | Software Development & Data Engineering Community
+ 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 4462
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************ *************** *******@x19g200 0prg.googlegrou ps.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.co m.au>, the lovely
and talented dorayme broadcast on comp.infosystem s.www.authoring.html:
In article <sl************ *******@debrand ed.larseighner. com>,
Lars Eighner <us****@larseig hner.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****@larseigh ner.com
Countdown: 235 days to go.
Jun 27 '08 #5
In article <sl************ *******@debrand ed.larseighner. com>,
Lars Eighner <us****@larseig hner.comwrote:
In our last episode,
<do************ *************** *******@news-vip.optusnet.co m.au>, the lovely
and talented dorayme broadcast on comp.infosystem s.www.authoring.html:
In article <sl************ *******@debrand ed.larseighner. com>,
Lars Eighner <us****@larseig hner.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
1554
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 find little to no documentation of the compiler flags besides the ones essential to operating system compatibility. How does one choose what...
0
1897
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 can creat/delete IIS ftp account. But I've suspected the iisftp cannot configure detailed configueration. (ex. It can't configure anonymous-login...
2
1517
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 it if some Linux, Windows and Mac framework folks could apply the patch, rebuild, then run the tests (there is a "testbcb" target in the Makefile...
1
1500
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 program sends mail to customer or you can manually select customer and send it ) from web. Why web? I dont want to install client applications to the...
3
2153
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 me. also tell me if can i use VB as front end and C++ as the coding language and how. Regards
5
1424
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 Your Message:</textarea> on a form called myform2, and i have another form and textarea on another page. how am i to send the text from one from...
8
3209
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 situation: I start postmaster manually: su pgsql -c "/usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l /usr/local/pgsql/log/pgsql.log start" ...
0
1119
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 with XP, the user is prompted if they want to keep the file or not. I'd like to bypass this prompt and over write certain files, and NEVER overwrite...
1
1276
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 starting up the CLR myself? Seems like controlling this sort of thing should be possible through the app.config file or registry or something. ...
8
2172
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 answered... In 1.1 we always did our own myDataAdapter.fills and we liked that control for lots of good reasons. Now the new DataSource (or is it a...
0
7664
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7885
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7638
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7948
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2082
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 we have to send another system
0
923
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.