I am moving my CSS flyout menu, which was overly complex, to Suckerfish.
Links within the menu have an information popup giving more info about what each page contains, using
#nav a span {visibility:hidden;position:absolute;top:-120px;left:175px;
to position the info popup (and #nav a:hover span {visibility:visible; to make it visible, this gave the positioning I wanted for the info balloon: the foot of the popup being aligned with the menu item.
However, in Suckerfish (in everything except IE6, bless its heart), the popup positions itself in relation to the containing ul, and so remains in the same position, near the top of the menu, as you can see here:
http://www.internetevangelismday.com...fishpopup1.php
The popup is designed like a split clamshell, with a top and bottom graphic, so that it can expand if there is more text in it, or people are using a large font size.
If I change the CSS using WebDeveloperToolbar to position:relative; the popup DOES position correctly, but then each second-level menu link loses the background image balloontop.png, and the menu link height increases a huge amount, because the image balloontop.png is I presume being forced invisibly into the menu link area (it certainly shows up under 'outline relative elements' on the toolbar.
Anyone have ideas on making 'position: relative' work in this situation?
Grateful thanks
Tony
Last edited by soon; 09-30-2009 at 11:30 AM..
Reason: forget to add email subscribe to the post
|