<分区>
<分区>
如何在一个div中部署四个框,分别定位在左上角、右上角、左下角、右下角的边缘,当你点击中间的框打开一个带有文本的窗口时.
是这样的:https://www.dropbox.com/s/3etszqonq9egven/layout.jpg
请帮帮我
最佳答案
按照以下方式设置div
左上
<style>margin-top:0;margin-left:0;</style>
右上
<style> margin-top:0;margin-right:0;</style>
左下
<style>margin-bottom:0;margin-left:0;</style>
右下
<style>margin-bottom:0;margin-right:0;</style>
关于HTML5/CSS/RWD - 在一个 div 中部署四个框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21216219/