On Tue, Jul 11, 2006 at 10:34:20AM +0900, Philippe Wittenbergh wrote:
> >Is it possible to make it relative to the second enclosing block?
> >(the <td> instead of the <dl>?)
> 
> The only browser that supports what you want to do is iCab 3.0.
> 
> CSS 2.1 has this to say on the subject:
> "The effect of 'position:relative' on table-row-group, table-header- 
> group, table-footer-group, table-row, table-column-group, table- 
> column, table-cell, and table-caption elements is undefined"
> <http://www.w3.org/TR/CSS21/visuren.html#propdef-position>
> 
> Use the dl as a containing block.

So I'm stuck?  Any way to make the dl the same height as the enclosing
td?  That would make it look acceptable.

The reason I'm using the <td> is so all the top-level menu items are
the same height, even when one of the cells wraps (which makes all
the cells the same height).

Maybe set the dl at a table-cell?  That's probably not well
supported, though.

What about using z-index and place the sub-menu behind the top-menu
<td>?  Then it would look like the sub-menu is always positioned
correctly coming off the <td>?  I couldn't get that to work.

Any other suggestions on what I could try?


> >[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.
> 
> Containing block is <body>

I see.  Thanks.


-- 
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/

Reply via email to