search
HomeWeb Front-endHTML TutorialOne navigation cannot implement all drop-down columns, please help! Thank you very much_html/css_WEB-ITnose



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="/static/imghwm/default1.png"  data-src="images/top_01.gif"  class="lazy"      style="max-width:90%"  style="max-width:90%" alt="One navigation cannot implement all drop-down columns, please help! Thank you very much_html/css_WEB-ITnose" ></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>








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; }


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
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
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 <datalist> element, which enhances forms by providing autocomplete suggestions, improving user experience and reducing errors.Character count: 159

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 <progress> element, its purpose, styling, and differences from the <meter> element. The main focus is on using <progress> for task completion and <meter> for stati

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 <meter> element, used for displaying scalar or fractional values within a range, and its common applications in web development. It differentiates <meter> from <progress> and ex

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 <iframe> tag's purpose in embedding external content into webpages, its common uses, security risks, and alternatives like object tags and APIs.

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.

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.

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.

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 <time> 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

See all articles

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)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),