小编tok*_*sis的帖子

下拉菜单将移动下面的所有<Div>.怎么预防呢?

检查这个网站我的Html.当您将鼠标悬停在产品上时,菜单会向下移动..但是如何在不移动任何内容的情况下显示下拉菜单?如下拉菜单位于顶部而未插入其间?对不起,我只是这个新手..

谢谢.

我的Html代码

<!DOCTYPE html>
<!-- Template by freewebsitetemplates.com -->
<html>
<head>
<meta charset="utf-8" />
<title>LotMovement</title>
<link rel="stylesheet" type="text/css" href="style.css" media="all" />
</head>
<body>
    <div id="header">
            <div id="logo">
                <a href="index.html"><img src="images/logo.jpg" alt="" /></a>       
            </div>      
            <nav>
            <ul>
                <li class="selected"><a href="index.html"><span>home</span></a></li>
                <li>
                  <a href="about.html"><span>Product </span></a>


                        <ul>
                             <li>
                                <a href="#">Input</a> 
                            </li>

                            <li>
                                <a href="#">Enquiry</a> 
                            </li>

                        </ul>



                </li>
              <li><a href="services.html"><span>Movement</span></a></li>

                <li><a href="contact.html"><span>contact us</span></a></li>         
            </ul>
            </nav>
    </div>
<div id="body">
        <div class="header">
            <div>
                <ul>
                    <li><img src="images/discuss.jpg" alt="" /></li>    

                  <li><img src="images/graph.jpg" alt="" /></li>        
                </ul>       
                <div> …
Run Code Online (Sandbox Code Playgroud)

html css

3
推荐指数
1
解决办法
9340
查看次数

突然,我的spring.xml将不会实例化我的类并发生错误异常

我遇到了一个奇怪的错误,我无法理解......当我运行我的web项目时......我的jsp显示出来了.但是在单击提交底部后,它会挂起然后出现错误结果.我无法理解我做错了什么..就像3小时试图检查我的问题.但是现在我需要一些帮助..谢谢你们.

Unable to instantiate Action, lotmovement.action.RegisterAction,  defined for 'register' in namespace '/'Error creating bean with name 'registeraction' defined in class path resource [spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [lotmovement.action.RegisterAction]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registeraction' defined in class path resource [spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [lotmovement.action.RegisterAction]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean …
Run Code Online (Sandbox Code Playgroud)

java spring struts2 netbeans-7

0
推荐指数
1
解决办法
6405
查看次数

标签 统计

css ×1

html ×1

java ×1

netbeans-7 ×1

spring ×1

struts2 ×1