| Page 1 of 1 | [ 2 posts ] |
|
Hi,
I'm using YUI 2.7.0. I'm using menubutton widget to create a icon with drop down menu but trying to override it's interface so that i doesn't looks like a menubutton. The drop down menu that I'm describing is like the icon in normal windows title where if click, will show the restore, move, size etc operations. My menubutton id is menubuttonNav. Code: #menubuttonNav { border-style : hidden; border-width : 0 0; background-image : none; } #menubuttonNav.yui-button .first-child { border-style : hidden; border-width : 0 0; } #menubuttonNav.yui-button button { padding : 0 0; background-image : none; } I seems to get what I want after doing the following CSS. But thought if someone experience can comment if I'm doing it the right way. Thanks. |
|
That will work fine, except when you want more than one
You might want to consider classnames, but it's up to you. |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group