设置 YUI Split 按钮的样式
我想对左侧使用拆分按钮 侧面菜单。 我尝试添加以下课程。
<STYLE TYPE="text/css"> .catbutton { display: block; } </STYLE>
按钮的宽度正确,但菜单箭头占据了部分 可变宽度。 不仅丑陋,而且菜单激活部分位于 正确的位置在最右边。 单击浮动的三角形 中间没有起作用。
我想也许我可以使用 JS 在按钮后面添加一个
元素。 我没有任何运气。
感谢帮助。
I want to use split buttons for a left
side menu. I tried adding the class following.
<STYLE TYPE="text/css"> .catbutton { display: block; } </STYLE>
The buttons were the right width but the menu arrow was the section taking up
the variable width. Not only was it ugly but the menu activation section was in
the correct place on the far right. Clicking on the triangle which was floating
in the middle did not work.
I was thinking that maybe I could add a <br/>
element after the button using JS. I am not having any luck.
Help is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试添加
width: 95%;
到按钮样式?Try adding
width: 95%;
to the button style?