I'm using a sub-menu system that's inside a <td> and looks like:
<td>
<dl>
<dt>
[menu link]
</dt>
<dd>
<ul>
<li>sub menu item 1</li>
<li>sub menu item 2</li>
</ul>
</dd>
</dl>
<td>
It's been a while, but there's a reason for the use of the <dl> which
I can't remember right now... I do remember that the <dl> was needed
for something[1].
The <dd> is position: absolute, and I want to make it relative to the
<td>. The problem is that the <dd> is always relative to the <dl>.
Is it possible to make it relative to the second enclosing block?
(the <td> instead of the <dl>?)
Here's an example:
http://hank.org/demos/foo3.html
(The margin: 10px is there only to show what the sub-menu is relative to).
The <td> has a gray border and the <dl> has the red dashed border.
What I want is the sub-menu's border-left to come off of the <td>
border, not the <dl> border.
Increase the font size or make the window narrow (or both) so that
"more link text" wraps and you can see the problem.
[1] Oh, http://hank.org/demos/foo4.html is where I tried without
using the <dl> -- same problem, plus all menus end up relative to
the first <td> for some reason.
--
Bill Moseley
[EMAIL PROTECTED]
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/