本文介绍了关于css和html的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用具有不同位置的 DIV
的页面的最佳方法是什么?下面是一个例子:
What is the best way to make a page with DIV
s that have different positions? Here is an example:
推荐答案
创建绝对
定位DIV并设置顶部
Create absolute
positioned DIVs and set the top
and left
CSS parameters for each of them.
您可以使用相对
定位的div。
You may wrap them with a relative
positioned div.
这篇关于关于css和html的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!