|
left_bg.gif背景图片显示不出来,请大虾们指教,下面是源码
left.css
@charset "utf-8";
/* CSS Document */
@import url("/css/base.css");
.left_container{ width:260px; height:696px; position:absolute; left:0; top:0; background:url(/p_w_picpath/cn/left/left_bg.gif) no-repeat left top;}
.left_container .logo_link a{width:200px; height:110px; float:right; display:block;}
.left_container .title{ margin:60px 0px 0px 92px;}
.left_container .left_menu{ margin:14px 0px 0px 52px;}
.left_container .left_menu div{ height:28px; width:97px; line-height:28px; background:url(/p_w_picpath/cn/left/dotted_line.gif) repeat-x left bottom;}
.left_container .left_menu div a{ text-decoration:none; color:#cde1ec; font-size:12px; background:url(/p_w_picpath/cn/left/icon.gif) no-repeat 5px 11px; display:block; width:97px; text-indent:20px;}
.left_container .left_menu .menu_1 a,
.left_container .left_menu div a:hover{ color:#fff; font-weight:bold; font-size:13px;}
.left_container .left_menu .menu_1{ margin-left:30px;}
.left_container .left_menu .menu_2{ margin-left:23px;}
.left_container .left_menu .menu_3{ margin-left:17px;}
.left_container .left_menu .menu_4{ margin-left:12px;}
.left_container .left_menu .menu_5{ margin-left:7px;}
.left_container .left_menu .menu_6{ margin-left:0px;}
------------
left.jsp
<%@page contentType="text/html; charset=UTF-8" language="java" pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<%=request.getContextPath()%>/css/cn/left.css" rel="stylesheet" type="text/css">
<div class="left_container">
<div class="logo_link"><a href="<%=request.getContextPath()%>/cn/index.jsp"></a></div>
<div class="title"><img src="<%=request.getContextPath()%>/p_w_picpath/cn/about/about_title.gif"></div>
<div class="left_menu">
<div class="menu_1"><a href="#">公司概况</a></div>
<div class="menu_2"><a href="#">董事zhang(长)致辞</a></div>
<div class="menu_3"><a href="#">公司历史</a></div>
<div class="menu_4"><a href="#">组织结构</a></div>
<div class="menu_5"><a href="#">LOGO CI介绍</a></div>
<div class="menu_6"><a href="#">联系我们</a></div>
</div>
</div>
http://www.javaxxz.com |
|