点击左边菜单里如何在右边的区域出现相应的内容_html/css_WEB-ITnose

php中文网
发布: 2016-06-24 12:17:56
原创
3235人浏览过

nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">


Stylevantage











  

    

111


  

  
  

    

      

调研内容


      
     

调研概况分析


      
       

单题分析


      
    

    
 

  

  



 




#wrap {
margin: 0 auto;
    width: 1150px;
text-align: left;
background: #FFF;
}
#content-wrap {
clear:both;
    margin: 0; padding:0;
width: 1150px;
}

/* header */
#header {
position: relative;
background: url(../images/headerbg-green.gif) repeat-x 0 0;
height: 84px;
}
#header h1#logo {
position: absolute;
margin: 0; padding: 20px 0 0 300px;
font: bold 3.5em 'Trebuchet MS', Arial, Sans-serif;
letter-spacing: -3px;
color: #CCC;
text-transform: lowercase;
/* change the values of top and Left to adjust the position of the logo*/
top: 0; left: 5px;
}
#header h2#slogan {
position: absolute;
margin: 0; padding: 0;
font: bold 11px 'Trebuchet MS', Arial, Sans-serif;
text-transform: none;
color: #FFF;
/* change the values of top and Left to adjust the position of the slogan*/
top: 48px; left:70px;
}
#header .searchform {
position: absolute;
top: 5px; right: 3px;
}

/* main column */
#main {
float: left;
    margin-left: 15px;
padding: 10px 0 0 5px;
width: 900px;
border-left: 1px solid #f2f2f2;
}

.post-footer {
background-color: #FAFAFA;
padding: 5px; margin-top: 20px;
font-size: .9em;
border: 1px solid #f2f2f2;
}
.post-footer .date {
background: url(../images/clock.gif) no-repeat left center;
padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
background: url(../images/comment.gif) no-repeat left center;
padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
background: url(../images/page.gif) no-repeat left center;
padding-left: 20px; margin: 0 10px 0 5px;
}

/* sideabar */
#sidebar {
float: left;
width: 15%;
margin: 0; padding: 10px 0 0 0;
display: inline;
}
#sidebar ul.sidemenu {
list-style: none;
text-align: left;
margin: 0 0 8px 0;
padding: 0;
text-decoration: none;
    font-size: 12px;
    border-top: 1px solid #EFF0F1;
}
#sidebar ul.sidemenu li {
border-bottom: 1px solid #EFF0F1;
background: url(../images/arrow.gif) no-repeat 2px 9px;
padding: 3px 5px 3px 18px;
}

* html body #sidebar ul.sidemenu li { height: 1%; }

#sidebar ul.sidemenu a {
font-weight: bold;
background-image: none;
text-decoration: none;
}

/* footer */
#footer {
clear: both;
background: #FFF url(../images/footerbg.gif) repeat-x left top;
border-top: 1px solid #F2F2F2;
text-align: center;
height: 80px;
    font-size: .9em;
}

#footer a { text-decoration: none; }


/* Alignment classes */
.float-left   { float: left;}

.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-center { text-align: center; }

/* display classes */
.clear  { clear: both; }
.block  { display: block; }
.hide   { display: none; }
.green  { color: #32CD32; }

我想实现点击左边菜单右边刷新的效果,好像用frame框架能做,但不知道怎么写,求各位大神帮助



回复讨论(解决方案)

直接用frame就行了呗


  
  
    
    
  

left.html里面写
HTML速学教程(入门课程)
HTML速学教程(入门课程)

HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号