Copy code The code is as follows:<style type="text/css"> #ab{margin:0 25px;position:relative;border:1px solid; font:bold;text-decoration:none;list-style:none;} a:hover{display:block;color:#000;width:50px;} #cd{display:none;} a:hover #cd{ display:block;background:#edecdc; border:1px solid #f3f3f8; padding:10px 20px;color:#009933; } </style> <a href="" title="" id="ab"> Try moving here! <span id="cd">Here is the prompt information!</span> <span id="cd">Here is the prompt information!</span> </a> <a href="" title="" id="ab"> Try moving here! <span id="cd">Here is the prompt information!</span> <span id="cd">Here is the prompt information!</span> </a> <!-- 1. The menu should be wrapped in <a></a>, because IE6 only supports a:hover effect 2. a:hover to open display:block: 3. Selectors should be related to each other, such as: a#cd:hover span{} 4. Use table --> |
<<: Detailed steps for deploying Tomcat server based on IDEA
>>: css add scroll to div and hide the scroll bar
This article example shares the specific code for...
Table of contents one. environment two. Precautio...
Recommended reading: MySQL 8.0.19 supports accoun...
1. Modify 1 column update student s, city c set s...
Table of contents Two ways to solve the problem o...
The following three methods are commonly used to d...
Preface JSON is a lightweight data exchange forma...
They are all web page templates from the foreign ...
1. Unzip nginx-1.8.1.tar.gz 2. Unzip fastdfs-ngin...
This article uses an example to describe the crea...
This article example shares the specific code for...
Experimental environment Apache and Tomcat are bo...
Environment configuration 1: Install MySQL and ad...
Table of contents 1. Component bloat 2. Change th...
Table of contents 1. Introduction to PXC 1.1 Intr...