请教下 css 弹出叠层如何覆盖父有层_html/css_WEB-ITnose
有的地方被覆层遮住了 请教下 如何弹出层把覆层覆盖掉 完整显示出来
代码如下
<dl id='popWin' style='width: 264px; height: 146px; border: 1px solid #E42C98; position: absolute; left: 0; top: 0; z-index: 99999; '> <dt style='height: 28px; background: url(../images/float_title_bg.jpg) no-repeat; border-bottom: 1px solid #E42C98; '> </dt><dd id='btCommand' tag='1717281' style='margin: 0; cursor: pointer; font-size: 12px; '><div style='width: 72px; height: 88px; background: url(../images/img_frame.jpg) no-repeat; padding: 7px 9px 9px 7px; margin: 7px 5px; float: left; _margin: 7px 5px 0 3px; '><a style='width: 72px; height: 88px; font-size: 76px; display: block; overflow: hidden; ' href='../space.asp?uid=<%=uid%>' target='_blank'><img style="max-width:90%" src='<%=upic% alt="请教下 css 弹出叠层如何覆盖父有层_html/css_WEB-ITnose" >' onerror=this.onerror=null; this.src='<%=epic2%>' /></a></div><div style='margin-top: 8px; line-height: 24px; color: #333; '> <a style='color: #FB03A9; text-decoration: underline; ' title='<%=uname%>' href='../space.asp?uid=<%=uid%>' target='_blank'><b><%=uname%></b></a>查看了您的资料<p style='line-height: 18px; margin: 0; '>他可能对您很感兴趣哟!<br>艳遇就在瞬间,快加QQ联系吧<br><img src='../images/love.gif' alt="请教下 css 弹出叠层如何覆盖父有层_html/css_WEB-ITnose" ></p><a style="max-width:90%" href='../space.asp?uid=<%=uid%>' target='_blank'><font color='#ffffff'>看她的资料-></font></a></div></dd></dl>
回复讨论(解决方案)
你把z-index属性控制好就行了
要显示在整个页面的最外层就把z-index的相对值设置最高把。
z-index属性控制啊, http://www.ido321.com/666.html LZ看看这篇博文
看代码没看到什么问题, 有position:absolute;也有z-index;
LZ把生成后的页面, 按F12看一下页面结构, 把生成后的HTML结构抓出来, 分析一下样式哪个地方出问题了

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

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Using Bootstrap in Vue.js is divided into five steps: Install Bootstrap. Import Bootstrap in main.js. Use the Bootstrap component directly in the template. Optional: Custom style. Optional: Use plug-ins.

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

There are two ways to create a Bootstrap split line: using the tag, which creates a horizontal split line. Use the CSS border property to create custom style split lines.

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

To adjust the size of elements in Bootstrap, you can use the dimension class, which includes: adjusting width: .col-, .w-, .mw-adjust height: .h-, .min-h-, .max-h-

How to use the Bootstrap button? Introduce Bootstrap CSS to create button elements and add Bootstrap button class to add button text

To set up the Bootstrap framework, you need to follow these steps: 1. Reference the Bootstrap file via CDN; 2. Download and host the file on your own server; 3. Include the Bootstrap file in HTML; 4. Compile Sass/Less as needed; 5. Import a custom file (optional). Once setup is complete, you can use Bootstrap's grid systems, components, and styles to create responsive websites and applications.

There are several ways to insert images in Bootstrap: insert images directly, using the HTML img tag. With the Bootstrap image component, you can provide responsive images and more styles. Set the image size, use the img-fluid class to make the image adaptable. Set the border, using the img-bordered class. Set the rounded corners and use the img-rounded class. Set the shadow, use the shadow class. Resize and position the image, using CSS style. Using the background image, use the background-image CSS property.
