Home > Web Front-end > HTML Tutorial > 为什么我做出来的效果是这样的呢?弄了快2个小时无果。。。。_html/css_WEB-ITnose

为什么我做出来的效果是这样的呢?弄了快2个小时无果。。。。_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:45:31
Original
1093 people have browsed it

<div style="width:100%; height:510px"  ><div  style=" background:url(AJJ_SHARE/WebRoot/images/div03.png); width:2%; height:500px; margin:0px 0px 0px 0px;  float:left;" id="div1"></div>  <div style="background:url(AJJ_SHARE/WebRoot/images/div02.png);background-repeat: repeat-x; margin:0px 0px 0px 0px;  width:96%; height:500px; " id="div2;" ></div>  <div  style="background:url(AJJ_SHARE/WebRoot/images/div01.png); width:2%; height:500px;  float:right" id="div3"></div>  </div>
Copy after login


回复讨论(解决方案)

是背景图片没出来?
你用firebug看下是不是路径不对

第二个div 要加float:left

 泪奔,弄了我2个小时没弄出来,结果却如此简单。。。。。。。。。。

第二个div 要加float:left

贴一下你要的效果图瞧瞧

弄程序是很耗时间的。。。。


我是搞开发的,美工弄的太慢。。。。 结帖

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template