知りたいのですが、純粋なCSSでこのレイアウトを作成するのに最適な構造は何ですか。矢印は画像にすることができます。
http://www.labonedesign.com.br/layout_2012.png
流動的なレイアウトが必要ですが、これを作成する方法がわかりません。
ピンクはメニューコンテナで、茶色は私のコンテンツコンテナです。
私はこれを試しましたが、小さな解像度ではこれは機能しません:
<body>
<div class="glob">
<div class="main">
<div class="wrap_lateral">
<div class="lateral">
</div>
</div>
<div class="conteudo">
</div>
</div>
</div>
</body>
CSS:
body {position:absolute; min-width:100%; min-height:700px; width:100%; height:100%; overflow:hidden;}
.glob {position:absolute; width:100%; height:100%; overflow:hidden;}
.main {margin:0px auto 0 auto; width:100% z-index:2; height:100%;}
.wrap_lateral{
width:20%;
height:100%;
float:left;
background:#FFCC00 url(../img/seta.png) 330px center no-repeat;
}
.lateral{
position:relative;
left:0;
top:0;
width:330px;
height:100%;
float:left;
background:#ff0066;
}
.conteudo{
width:80%;
height:100%;
float: left;
background:#CC0000;
}
PS:私はフォトショップでこれをしました:)