html不居中代码,HTML – 为什么我不能居中div?
生活随笔
收集整理的這篇文章主要介紹了
html不居中代码,HTML – 为什么我不能居中div?
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
我似乎無法將底層div放在中心位置. (middle9).
HTML和CSS似乎與上面的代碼相同.
如果很明顯,我會提前道歉,但我看不到它.
wrap9 { width: 900px; height: 300px; background-color:#F67E07; margin-top: 3px; text-align:center; }
#sub_left9 { float:left;width:280px; height: 200px; background-color:#96CBF7; margin-top: 10px; margin-left:5px; }
#sub_right9 { float:right; width:280px; height: 200px; background-color:#A2F685; margin-top: 10px; margin-right: 5px; }
#sub_middle9 { display:inline-block; width:280px; height: 200px; background-color:#A2F685; margin-top: 10px; }
left 9middle 9 right 9總結
以上是生活随笔為你收集整理的html不居中代码,HTML – 为什么我不能居中div?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 单个像素 亮度 HTML,YUV与像素值
- 下一篇: table row设置cell的html