Jake Churchill wrote:
> http://cfwt.cfwebtools.com
> 
> The active 1st level menu item will have class active and any anchor 
> with a sub menu will have class drop.  2nd level menus have class 
> msubnav.  When I have a menu item with class active and an anchor 
> with class drop, the sub menu does not display.

Not sure if I understand the conditions.

> I've validated my HTML and CSS through W3C's validators and 
> everything is clean.  I just can't figure this out for some reason. I
> copied the code below.  Let me anticipate and answer one question up
> front.  The object tags inside the anchor tags are there because the
> validator said a ul tag cannot be embedded in an anchor tag so the
> HTML wouldn't validate without it.  And I couldn't validate the CSS
> before the HTML was first validated.  It didn't change how any of it
> worked.  I've since removed the object tags and as I said, nothing 
> changed.

Maybe nothing changed in some browsers, but not all browsers will eat
the non-valid source-code you have now. You can see for yourself in
Opera 9.x and Safari 2.x.

The good news is that a run through HTML Tidy's "covert to XML" - which
a document with an XHTML doctype should be anyway - turned it into a
well-working 'XHTML 1.0 Strict' without any object-elements in the list.
A properly nested list is what a 'well configured Tidy'[1] returned, and
those dropdowns are working just fine in IE6, Firefox 2.x, Opera 9.x and
Safari 2.x.

Yes, IE6 has some minor problems - not with the dropdowns though, but
it's no use fixing those in the CSS files at my end, before you have
gotten your own source-code up to an acceptable level.

Validity isn't the goal here - browser-support is, and a document with a
doctype that spells "XHTML" isn't XHTML until it at least passes when
served with a proper MIME type[2] to supporting browsers. What you serve
it as in the end - to maybe cater for non-supporting browsers, is up to you.

regards
        Georg

[1]http://www.gunlaug.no/contents/wd_1_07.html
[2]http://www.gunlaug.no/contents/wd_1_06_03.xhtml
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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