Controlling the "depth" of <UL> or <LI> ??
June 27th, 2008, 07:16 PM
| | | | 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!{} - 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! |
June 27th, 2008, 07:16 PM
| | | | Re: Controlling the "depth" of <UL> or <LI> ??
On May 29, 7:23 pm, capricious <pokers...@beer.comwrote: Quote:
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!{} - 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 {}
ul ul {}
Dunno where I got periods from. |
June 27th, 2008, 07:16 PM
| | | | Re: Controlling the "depth" of <UL> or <LI> ??
In article
<336a0efb-8eb5-4c4e-acd1-56dfff7ce7ba@x19g2000prg.groups.com>,
capricious <pokerslut@beer.comwrote: | | |