YUI (JS): Putting a MenuBar in a Panel

Posted by John Bentley on Stack Overflow See other posts from Stack Overflow or by John Bentley
Published on 2009-09-28T11:56:22Z Indexed on 2010/05/14 14:54 UTC
Read the original article Hit count: 361

Filed under:
|
|
|

If I put a YUI menu bar in the body it works perfectly. However if I use it inside of a Panel it shows up without the proper background. It is larger than it should be. Other than the default sam skin I'm using only the following css. .windowbody is the class of the panel.

<style type="text/css">
body {
    margin: 0;
}
.windowbody {
    overflow: auto;
    padding: 0;
}

.windowbody div {
    padding: 0;
    margin: 0;
}
</style>

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about yui