This is Yet Another Pure-CSS Popups Question; I didn't see my
particular query addressed in the archive, so I apologize if the
solution is there and I just missed it.

I'm using the technique to provide selection hints in a tabbed
interface; roll over the tab, get a description of why you might pick
that tab.  You can see a partial, anonymized version of the page here:
 http://thereeds.org/~mreed/test_css.html.

The problem is that the most natural form for the description, based
on the source documentation and the customer, is a bulleted list.  But
an unordered list is illegal inside an anchor, so the page won't
validate in its current form.

The solutions I can think of are three:

1. use a series of <span>s instead of <li>s, but style them as list
items with CSS;

2. do the popup with JavaScript instead of CSS, so the text doesn't
have to be within an anchor;

3. leave it as-is and don't sweat the lack of validation.

Now, the full interface actually requires JavaScript, so I wouldn't be
orphaning any users if I went with #2; it just feels clunkier than the
CSS technique.  But option #1 feels clunkier still.

I could live with any of the above, but if someone has a better idea,
I'd love to hear it.

Thanks in advance for any help.

-- 
Mark J. Reed <[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