View Single Post
Old 12-29-2011, 08:22 AM   PM User | #1
nowave7
New to the CF scene

 
Join Date: Dec 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
nowave7 is an unknown quantity at this point
Positioning inner UL to outer UL

Hey all,

I'm having a problem building a menu using ul elements. The menu looks something like this:

Code:
    <ul class="level0">
	<li id="nav-1-1" class="level1"><span> Option1 </span>
	<ul id="submenu" class="">
		<li class="level2" first="" nav-2-2="">
		<li class="level2" first="" nav-2-2="">
		<li class="level2" first="" nav-2-2="">
	</ul>
	</li>
	<li id="nav-1-1" class="level1"><span> Option2 </span>
	<ul id="submenu" class="">
		<li class="level2" first="" nav-2-2="">
		<li class="level2" first="" nav-2-2="">
		<li class="level2" first="" nav-2-2="">
	</ul>
	</li>
</ul>
I would like to position all of the inner ul elements (two in this case) to a specific place relative to outer ul element (for example top right corner of the outer ul) and not the li that contains them. Is this possible at all, without using the position: fixed ?Any help is greatly appreciated!
nowave7 is offline   Reply With Quote