左边DIV①的扩充内容DIV②(DIV②属于DIV①中的内容)如何显示在右边iframe的上方?
1条回答 默认 最新
- 天际的海浪 2018-10-08 14:18关注
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title> 页面名称 </title> <style type="text/css"> #div1 { float: left; width: 200px; height: 500px; background-color: #99f; position: relative; } #div2 { position: absolute; left: 150px; top: 200px; z-index: 999; width: 200px; height: 100px; background-color: #9f0; } </style> </head> <body> <div id="div1"> <div id="div2"></div> </div> <iframe src="https://www.baidu.com" frameborder="0" width="600" height="500"></iframe> </body> </html>
解决 无用评论 打赏 举报
悬赏问题
- ¥15 素材场景中光线烘焙后灯光失效
- ¥15 请教一下各位,为什么我这个没有实现模拟点击
- ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
- ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
- ¥20 有关区间dp的问题求解
- ¥15 多电路系统共用电源的串扰问题
- ¥15 slam rangenet++配置
- ¥15 有没有研究水声通信方面的帮我改俩matlab代码
- ¥15 ubuntu子系统密码忘记
- ¥15 保护模式-系统加载-段寄存器