2012-11-04 158 views
1

我想创建div结构,因为我附加了图像。请任何人都可以帮我解决这个问题。需要帮助来创建div结构

enter image description here

+0

这里?在哪里?... –

+0

你想做什么?它是关于圆角和阴影吗? – Jean

+0

你有什么尝试?可以做几个。网上有很多教程可以帮助你入门。 –

回答

1

你可以做到这一点像下面和浮动

<div class='outer'> 
<div class='left'></div> 
<div class='tow'> 
    <div class='up'></div> 
    <div class='cbt'></div> 
    <div class='jimit'></div> 
    <div class='one'></div> 
    <div class='below'></div> 
</div> 
<div class='right'></div> 

CSS

.outer,leftm.right,.tow{float:left;} 
.left,.right{width:25%;} 
.tow{width:50%;} 
.cbt{clar:both} 

enter image description here

1

使用绝对位置进行摆放此 - Demo

.center { 
    position: absolute; 
    width: 300px; 
    height: 200px; 
    left: 50%; 
    top: 50%; 
    margin-left: -150px; /* Half of div width */ 
    margin-top: -100px; /* Half of div height */ 
}