我需要禁用鼠标悬停在整个DOM中的特定按钮(而不是所有按钮)上.请让我知道如何使用CSS类实现它.
我的按钮被禁用时,我正在使用下面的CSS类.现在我想删除使用相同类的悬停效果.
.buttonDisabled
{
Cursor:text !important; Text-Decoration: None !important;
}
Run Code Online (Sandbox Code Playgroud)
上面的类将负责删除鼠标悬停时的手势和文本下划线.现在我想删除悬停效果.请告诉我.
我在尝试运行Spring项目时遇到以下错误
HTTP Status 500 - java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
Run Code Online (Sandbox Code Playgroud)
尽管将清单工具添加到我的web.xml.我仍然收到此错误.下面是我添加到web.xml的监听器:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/HelloWebRedirect-servlet.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
Run Code Online (Sandbox Code Playgroud)
有人可以在这方面帮助我吗?