基本的に3つの半透明の背景を持つコンテナを作成したいので、すべてのコンテナにコンテンツを配置できます。コンセプトは3つの背景を持つコンテナ、絶対div高さ100%親の高さ
背景#1静的サイズ
背景#2サイズ変更可能なサイズ
背景#3静的サイズ
であると私はsuch an effectを取得するには、すべてこの3つの背景の上にコンテンツを置くことができるようにしたいです。
私はこのような何かを考えていた:効果で
<div style="position: absolute; height: auto;">
<div style="background: url('images/container.png') repeat-y; height: 100%; width: 990px; position: absolute; top: 10px;"></div>
<div style="background: url('images/containerTop.png') no-repeat; height: 10px; width: 990px; position: absolute;"></div>
<div style="background: url('images/containerBottom.png') no-repeat; height: 11px; width: 990px; position: absolute; bottom: -21px;"></div>
text<br />
text<br />
text<br />
text<br />
</div>
、ブロックがOKなサイズであるが、私は3つのブロックの上にテキストを配置する方法のアイデアを持っており、サイズはまだ大丈夫しないでください。
私の解決策はとても近かったが、それまでのところだった。助けてくれてありがとう! – Nazin
あなたは大歓迎です。助けてうれしい! –