xxx
yyy
要求:
1.不改father
2.不能给son指定具体的像素值。
3.使grandson1,grandson2显示在一行
回复讨论(解决方案) 你father是70,下面2个是50,怎么在一行啊?
xxx
yyy
楼主 这个意思?
grandson1 diaplay:inline;
grandson2 diaplay:inline;
还可以不用float了
div布局~
js splitpanelleft
center top
center bottom
right
grandson1 diaplay:inline;
grandson2 diaplay:inline;
还可以不用float了
三楼的思路是对的,但据说inline不太兼容
grandson1 diaplay:inline;
grandson2 diaplay:inline;
还可以不用float了
三楼的思路是对的,但据说inline不太兼容
z-index行吗?
xxx
yyy
html code
+1
用定位让它脱离文档 引用 9 楼 acesidonu 的回复:
html code
呵呵 脱离真的可以实现这种效果呢 用绝对位置行吧