菜单控件,在项目文本外部单击 [英] menu control click outside to item text

查看:52
本文介绍了菜单控件,在项目文本外部单击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp.net菜单控件.它也有子菜单.菜单宽度为125像素,菜单项为75像素.在项目文本外部单击时,仅在单击文本时无效.我在css中使用了光标,它显示了手,但单击后不起作用.仅适用于单击文本.请帮助我...

I have take a asp.net menu control. It has sub menu also. Menu width is 125px and item with is 75px. When clicking outside the item text it is not working only working clicking on text. I used cursor in css it is showing hand but after clicking it is not working. Only working with clicking on text. Please help me...

推荐答案

朋友,我解决了这个问题:
解决方案是像这样添加样式表并将其命名为dynamicmenuitemstyle.

.Fullclick a {width:100%;显示:块; }
Hi friends I solved this problem:
solution is just add stylesheet as like this and call it dynamicmenuitemstyle.

.Fullclick a { width:100%; display:block; }


这篇关于菜单控件,在项目文本外部单击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆