PDA

View Full Version : Open Cube Dropdown and CSS Issues


kraftomatic
09-27-2004, 04:43 PM
Has anyone experienced this? I have an XHTML/CSS valid page that works fine. However the latest version of Open Cube's dropdown menu doesn't display correctly unless I remove the DOCTYPE declaration:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

If I remove this, then the style sheet doesn't work 100% correctly. I can even keep the DOCTYPE line and put "<!-- text -->" and the drop down works. But again, then the style sheet doesn't fully work.

This seems like an awfully quirky problem. Does anyone have any suggestions?

Thanks.

jkd
09-27-2004, 05:11 PM
A quirky problem because of quirks mode, no less. Sounds like OpenCube did not take into account quirks mode rendering of popular browsers. I recommend brothercake's UDM menu (www.udm4.com) for many more reasons beyond this particular one. He has taken care with respect to quirks mode, as well as made the menu WAI AAA compliant and well-degrading in old browsers.

kraftomatic
09-27-2004, 05:14 PM
Yeah, I may need to look into another solution. Perhaps even A List Apart's Suckerfish method:

http://www.alistapart.com/articles/dropdowns/