4 回答

红颜莎娜
TA贡献1842条经验 获得超12个赞
如果原素材是竖着可以m键矩形选框截取需要的一部分(比如人物面部)ctrl c复制
ctrl n新建banner 设置你需要的尺寸 ctrl v粘贴原素材
如果只是背景一类的抽象素材可以ctrl t转向

慕的地8271018
TA贡献1796条经验 获得超4个赞
你是要显示通栏导航的效果把?CSS完全可以实现:
将banner外面加个DIV,调用样式类nav,然后设置banner为1000像素宽,nav的设置自动:
【CSS部分】
<style>
.nav{width:auto;height:30px;background:url(img/bg.jpg) center center no-repeat;}
.banner{width:1000px;height:30px;margin:0 auto;}
.banner ul{width:1000px;height:30px;}
.banner ul li{width:100px;height:30px;float:left;}
</style>
【网页结构】
<div class="nav">
<div class="banner">
<ul>
<li>导航<li>
<li>导航<li>
<li>导航<li>
<li>导航<li>
<li>导航<li>
<ul>
</div>
</div>
这样就可以实现这个效果了
添加回答
举报
0/150
提交
取消