<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><style type="text/css">.ceshi a{ width:200px; height:200px; position:relative; background-color:#0F0; display:block; }.ceshi a .b{ width:100px; height:100px; position:absolute; right:0px; bottom:0px; background-color:#000; }.ceshi a:hover{ border:0 none; /*这个地方是在网上看的方法,IE6下无法起到作用*/ }.ceshi a:hover .b{ display:none; }</style></head><body><div class="ceshi"><a href="#" target="_blank"><div class="b"></div></a></div></body></html>
This div must be displayed in the lower left corner when the page is opened.
It will only disappear when the mouse is moved in.
Please give me some advice, thank you... ....
Reply to discussion (solution)
.ceshi a:hover .b{ display:none; background:none;}
.ceshi a:hover{
border :0px #69f none; /*Write completely*/
}
I forgot the order, maybe it’s not right
CSS code
.ceshi a:hover . b{
display:none;
background:none;
}
- -~! My div may contain other things, there is no point in doing this.
Moreover, it is invalid under IE6
.ceshi a:hover{
border:0px #69f none; /* Write in full*/
}
I forgot the order, it may not be right
It still doesn’t work under IE6
Add display:block;
Then you don’t have to The abbreviated form, write it down and take a look, it is border-style, border-width: write one by one
Also, I didn’t see when the border was added
I haven’t touched it in IE6 for a long time
Let’s hide it in another way
For example, set the width/height to 0
Let’s hide it in another way
For example, set the width/height to 0
That’s okay, it seems my thinking is too narrow,
Thank you, it’s done

Solution to implement multi-project carousel in Bootstrap4 Implementing multi-project carousel in Bootstrap4 is not an easy task. Although Bootstrap...

How to achieve the effect of mouse scrolling event penetration? When we browse the web, we often encounter some special interaction designs. For example, on deepseek official website, �...

The default playback control style of HTML video cannot be modified directly through CSS. 1. Create custom controls using JavaScript. 2. Beautify these controls through CSS. 3. Consider compatibility, user experience and performance, using libraries such as Video.js or Plyr can simplify the process.

Potential problems with using native select on mobile phones When developing mobile applications, we often encounter the need for selecting boxes. Normally, developers...

What are the disadvantages of using native select on your phone? When developing applications on mobile devices, it is very important to choose the right UI components. Many developers...

Use Three.js and Octree to optimize collision handling of third-person roaming in the room. Use Octree in Three.js to implement third-person roaming in the room and add collisions...

Issues with native select on mobile phones When developing applications on mobile devices, we often encounter scenarios where users need to make choices. Although native sel...

Exploring the implementation principle of mouse scrolling events When browsing some websites, you may notice that some page elements still allow scrolling the entire page when the mouse is hovering...


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Zend Studio 13.0.1
Powerful PHP integrated development environment
