Asp.net默认主题css菜单问题 [英] Asp.net default theme css menu problem

查看:187
本文介绍了Asp.net默认主题css菜单问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在VS 2010中的Net 2.0默认主题,它是蓝色标题和白体,其菜单是好的,但是当页面加载时,菜单首先打开一个令人不安的方式,然后在合适的位置关闭,这是css问题



感谢
Atif

如果页面很重或需要一些时间,菜单会受到干扰, p>

解决方案

解决菜单控件在缓慢的浏览器上加载asthetics:JTankers; 2011/06/17



将标签替换为:

 < ; body onload =document.getElementById('div_Menu')。style.visibility ='visible'> 

将菜单控件放在以下div中:

 < div id ='div_Menu'style ='visibility:hidden'; > 
< asp:Menu ...
< / div>


Net 2.0 default theme in VS 2010, which is blue header and white body, its menu is good, but when the page loads, menu first opens in a disturbing way, and then close in a proper position, this is css problem, if the page is heavy or takes some time, the menu gets disturbed, any body has idea, how to resolve this issue?

Thanks Atif

解决方案

Work around for Menu control load asthetics on slow browsers: JTankers; 2011/06/17

Replace the tag with:

  <body onload="document.getElementById('div_Menu').style.visibility='visible'">

Place the menu control in the following div:

  <div id='div_Menu' style='visibility: hidden'; >
    <asp:Menu ...
  </div>

这篇关于Asp.net默认主题css菜单问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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