Table of Contents
Reply to discussion (solution)
Home Web Front-end HTML Tutorial One navigation cannot implement all drop-down columns, please help! Thank you very much_html/css_WEB-ITnose

One navigation cannot implement all drop-down columns, please help! Thank you very much_html/css_WEB-ITnose

Jun 24, 2016 pm 12:21 PM



http://www.fzsgsl.gov.cn/

http://d.lanrentuku.com/down/js/daohang-928/

This is the correct way. I don’t know why the bottom row of the navigation column cannot be displayed. Please help me debug it ~








This is the head.htm file



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=GBK"><title>{dede:global.cfg_webname/}</title><link type="text/css" href="{dede:global.cfg_templets_skin/}/images/Stylesnobg.css" rel="stylesheet"><link rel="stylesheet" type="text/css" href="css/style.css"><script type="text/javascript" src="js/jquery-1.7.1.min.js"></script><script type="text/javascript" src="js/js.js"></script><script>        function winopen(url) {            top.location = url;        }        function winopennew(url) {            window.open(url,'_top');        }    </script></head><body><table width="994" border="0" align="center" cellpadding="0" cellspacing="0">  <tbody><tr>    <td><img src="images/top_01.gif" width="994" height="202"></td>  </tr></tbody></table><table width="994" border="0" align="center" cellpadding="0" cellspacing="0">  <tbody><tr>    <td height="1" bgcolor="#FFFFFF"></td>  </tr></tbody></table>    <div class="top">        <ul class="menu">            <li class="no_sub"><a target="_blank" href="http://www.fzsgsl.gov.cn/" class="tablink nosub">首 页</a></li>            <li>            	<a target="" href="#" class="tablink">商会概况</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shgk/gongshanglianjianjie/">工商联简介</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shgk/gongshanglianzhangcheng/">工商联章程</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shgk/gongshanglianlingdao/">工商联领导</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shgk/zhuyaozhinen/">主要职能</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shgk/zuzhijiegou/">组织结构</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shgk/lianxiwomen/">联系我们</a></li>                </ul>            </li>            <li>            	<a target="" href="#" class="tablink">新闻中心</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shdt/tzgg/">通知公告</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shdt/tongzhigonggao/">时政要文</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shdt/shiliandongtai/">市联动态</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/shdt/jicengduanbo/">基层短波</a></li>                                   </ul>            </li>            <li>            	<a href="http://www.fzsgsl.gov.cn/html/sysh/">经济服务</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/sysh/youhaojiaowang/">政策法规</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/sysh/jiaoyupeiyu/">教育培训</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/sysh/jiaoyupeiyu/">对外联络</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/sysh/falvweiquan/">法律维权</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/sysh/jrfw/">金融服务</a></li>					                </ul>                <div class="hot"></div>            </li>            <li>            	<a target="" href="#" class="tablink">参政议政</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/fwjg/diaoyanxinxi/">调研信息</a></li>		            <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/fwjg/tianyian/">提案议案</a></li>		            <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/fwjg/jingyanhuicui/">经验会碎</a></li>		                            </ul>            </li>            <li>            	<a target="" href="#" class="tablink">会员组织</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/yhsh/ruhuizhinan/">入会指南</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/yhsh/jicengshanghui/">基层商会</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/yhsh/yidishanghui/">异地商会</a></li>					                </ul>            </li>            <li>            	<a target="" href="#" class="tablink">光彩扶贫</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/qyfc/guangcaigongyishiye/">光彩事业</a></li>					<li><a target="_blank" href="http://www.fzsgsl.gov.cn/html/qyfc/xinnongcunjianshe/">新农村建设</a></li>					                </ul>                <div class="new"></div>            </li>            <li>            	<a target="" href="#" class="tablink">非公党建</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/a/feigongdangjian/gongzuojigou/">工作机构</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/a/feigongdangjian/zhizerenwu/">工作职能</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/a/feigongdangjian/dangjiandongtai/">党建动态</a></li>                                   </ul>            </li>            <li>            	<a target="" href="#" class="tablink">会员风采</a>                <ul>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/a/huiyuanfengcai/lingjunrenwu/">领军人物</a></li>                    <li><a target="_blank" href="http://www.fzsgsl.gov.cn/a/huiyuanfengcai/qiyedongtai/">企业动态</a></li>                                             </ul>            </li>        </ul>    </div></div><table width="994" border="0" align="center" cellpadding="0" cellspacing="0">  <tbody><tr>    <td background="images/top_03.jpg"><table width="100%" height="29" border="0" cellspacing="0" cellpadding="0">      <tbody><tr>               <td align="left"><iframe src="weather.htm" width="280" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" allowtransparency="true"></iframe></td>      </tr>    </tbody></table></td>  </tr></tbody></table></body></html>
Copy after login








This is CSS


/*---------------------页面基础定义----------------------------------*/body,td,th {	font-family: Tahoma, Verdana, Arial, sans-serif;	font-size: 12px;	color: #333333;}body {	margin-left: 0px;	margin-top: 0px;	margin-right: 0px;	margin-bottom: 0px;}/*---------------------链接定义----------------------------------*/a {	color: #333333;	text-decoration: none;}a:hover {	color: #FF0000;	text-decoration: none;}a:active{	color: #FF0000;	text-decoration: none;}/*---------------------菜单样式----------------------------------*/#menu{	height:32px;	margin-top:8px; background-color:#990000;}#menu ul{	margin:auto; width:778px; height:32px;	list-style-type:none; padding:0px; margin-top:0px; margin-bottom:0px;}.m_li{	float:left; width:114px; line-height:32px;  text-align:center; margin-right:-2px; margin-left:-2px;}.m_li a{	display:block; color:#FFFFFF; width:114px;}.m_line{	float:left; width:1px; height:32px;	line-height:32px;   /*ff下有效(图片垂直居中)*/}.m_line img{	margin-top:expression(( 32 - this.height ) / 2);   /*ie下有效(图片垂直居中)*/}.m_li_a{	float:left; width:114px; line-height:32px; text-align:center; padding-top:3px; font-weight:bold;	background-image:url(../images/menu_bg.jpg); position:relative; height:32px; margin-top:-3px; margin-right:-2px; margin-left:-2px;}.m_li_a a{	display:block; color:#FF0000; width:114px;}.smenu{	width:774px; margin:0px auto 0px auto; padding:0px; list-style-type:none; height:32px;}.s_li{	line-height:32px; width:auto; display:none; height:32px; }.s_li_a{	line-height:32px; width:auto; display:block; height:32px; }
Copy after login


Reply to discussion (solution)

According to my thinking, this problem must use js, first of all Set all drop-down menus to be hidden, and position each menu relatively, and then use js to make it appear when clicked or when the mouse passes. This also involves the use of DOM technology---getElementById().

According to my idea, this problem must use js. First, set all the drop-down menus to be hidden, and relative position each menu, and then use js to make it appear when clicked or the mouse passes. This will also involve DOM technology---the usage of getElementById().

According to my idea, this problem must use js. First, set all the drop-down menus to be hidden, and relative position each menu, and then use js to make it appear when clicked or the mouse passes. This will also involve DOM technology---the usage of getElementById().

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What is the purpose of the <progress> element? What is the purpose of the <progress> element? Mar 21, 2025 pm 12:34 PM

The article discusses the HTML &lt;progress&gt; element, its purpose, styling, and differences from the &lt;meter&gt; element. The main focus is on using &lt;progress&gt; for task completion and &lt;meter&gt; for stati

What is the purpose of the <datalist> element? What is the purpose of the <datalist> element? Mar 21, 2025 pm 12:33 PM

The article discusses the HTML &lt;datalist&gt; element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

What is the purpose of the <meter> element? What is the purpose of the <meter> element? Mar 21, 2025 pm 12:35 PM

The article discusses the HTML &lt;meter&gt; element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates &lt;meter&gt; from &lt;progress&gt; and ex

What is the viewport meta tag? Why is it important for responsive design? What is the viewport meta tag? Why is it important for responsive design? Mar 20, 2025 pm 05:56 PM

The article discusses the viewport meta tag, essential for responsive web design on mobile devices. It explains how proper use ensures optimal content scaling and user interaction, while misuse can lead to design and accessibility issues.

How do I use HTML5 form validation attributes to validate user input? How do I use HTML5 form validation attributes to validate user input? Mar 17, 2025 pm 12:27 PM

The article discusses using HTML5 form validation attributes like required, pattern, min, max, and length limits to validate user input directly in the browser.

How do I use the HTML5 <time> element to represent dates and times semantically? How do I use the HTML5 <time> element to represent dates and times semantically? Mar 12, 2025 pm 04:05 PM

This article explains the HTML5 &lt;time&gt; element for semantic date/time representation. It emphasizes the importance of the datetime attribute for machine readability (ISO 8601 format) alongside human-readable text, boosting accessibilit

What are the best practices for cross-browser compatibility in HTML5? What are the best practices for cross-browser compatibility in HTML5? Mar 17, 2025 pm 12:20 PM

Article discusses best practices for ensuring HTML5 cross-browser compatibility, focusing on feature detection, progressive enhancement, and testing methods.

What is the purpose of the <iframe> tag? What are the security considerations when using it? What is the purpose of the <iframe> tag? What are the security considerations when using it? Mar 20, 2025 pm 06:05 PM

The article discusses the &lt;iframe&gt; tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

See all articles