HighDots Forums  

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

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: Controlling the "depth" of <UL> or <LI> ?? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jonathan N. Little
 
Posts: n/a

Default Re: Controlling the "depth" of <UL> or <LI> ?? - 05-29-2008 , 10:06 PM






capricious wrote:
Quote:
On May 29, 7:23 pm, capricious <pokers... (AT) beer (DOT) com> wrote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.