将背景图像添加到div(动态内容)中
|
我有一个DIV ...
<div id=\"content\">
</div>
现在...在设计中,如果您将其视为矩形,则顶部作为页眉,页脚也不同,因此我不能只创建一个1px的背景图像并重复它。
我将必须执行以下操作:
<div id=\"content\">
<div id=\"header\">This will have a fixed bg image</div>
<div id=\"body-content\">This will have a repeated bg image and it\'s the part that can grow.</div>
<div id=\"footer-content\">THis will content a fixed bg image for the footer</div>
</div>
任何人都可以建议明智的最佳方式来处理这种设计CSS吗?
没有找到相关结果
已邀请:
1 个回复
粟痢凰副