当前位置:编程学习 > C#/ASP.NET >>

怎样设置Frameset的滚动条?

我的代码:
<head runat="server">
    <title>步云校园网应用平台[管理主页面]</title>
            <style type="text/css">
frameset
{
 scrollbar-face-color:   #F6A448; 
  scrollbar-highlight-color:   #E2E2E0;   
scrollbar-shadow-color:   #CCCCCC;   
scrollbar-track-color:   #F2D7AD; 
scrollbar-darkshadow-color:   #FFCC66; 
scrollbar-arrow-color:#FD5503;   
scrollbar-base-color:#CCCCCC;         /*滚动条的基本颜色*/ 

    </style>
</head>
 <frameset cols="*,1024px,*" framespacing="0" border="0" frameborder="0">
   <noframes>
  <body>Your browser does not handle frames!</body>
  </noframes>
   <frame name="left_blank"></frame>
<frameset rows="96px,*" framespacing="0" border="0" frameborder="0">
  <frame src="top.aspx" name="top" scrolling="no"></frame>
  <frameset cols="180px,*"  frameborder="1" framespacing="8" marginheight="0" bordercolor="#e0e0e0">
      <frame src="Title_left.aspx" name="left"></frame>
      <frame src="../MYWORK/My_home.aspx" name="main" scrolling="yes"></frame>
  </frameset>
</frameset>
    <frame name="right_blank"></frame>
</frameset>
<body>
</body>
</html>
我的要求:在<frame name=left"></frame>和<frame name="main"></frame>中右边的滚动条改变颜色和样式;
--------------------编程问答-------------------- border="1"   frameborder="yes"





--------------------编程问答-------------------- 直接在连接的页面里改变不可以啊? --------------------编程问答-------------------- 应该在对应的页面里面加入改变滚动条样式的代码
Title_left.aspx
../MYWORK/My_home.aspx --------------------编程问答-------------------- 应该在对应的页面里面加入改变滚动条样式的代码 
Title_left.aspx 
../MYWORK/My_home.aspx
_________
不行的,我试了,不行 --------------------编程问答-------------------- 在对应的页面里面加入改变滚动条样式的代码   
Title_left.aspx   
../MYWORK/My_home.aspx 
  <style type="text/css">
       frameset
{
 scrollbar-face-color:#F6A448; 
  scrollbar-highlight-color:#E2E2E0;   
scrollbar-shadow-color:#CCCCCC;   
scrollbar-track-color:#F2D7AD; 
scrollbar-darkshadow-color:#FFCC66; 
scrollbar-arrow-color:#FD5503;   
scrollbar-base-color:#CCCCCC;         

    </style> 
_________ 
不行的,我试了,是不是<style type="text/css">中的frameset有问题啊,应该怎么写啊,拜托了!

--------------------编程问答-------------------- 我的天,下面的代码放在子页面和控制框架页面都不起作用!!!!!!!!!!!!!!!!!!!!!!!1
<style   type="text/css"> 
              frameset 

  scrollbar-face-color:#F6A448;   
    scrollbar-highlight-color:#E2E2E0;       
scrollbar-shadow-color:#CCCCCC;       
scrollbar-track-color:#F2D7AD;   
scrollbar-darkshadow-color:#FFCC66;   
scrollbar-arrow-color:#FD5503;       
scrollbar-base-color:#CCCCCC;                   
}   
        </style>  
怎么会事情??????????????????????????????? --------------------编程问答-------------------- 而且以下代码放在HTML文件中IE浏览就有效果,放在VS2005中就不起作用!!!!
<style type="text/css">   
 body
{   
    scrollbar-face-color:#F6A448;       
        scrollbar-highlight-color:#E2E2E0;               
scrollbar-shadow-color:#CCCCCC;               
scrollbar-track-color:#F2D7AD;       
scrollbar-darkshadow-color:#FFCC66;       
scrollbar-arrow-color:#FD5503;               
scrollbar-base-color:#CCCCCC;                                       
}       
 </style>     
--------------------编程问答-------------------- 什么情况 --------------------编程问答-------------------- 你确定在ie浏览有效果?/?? --------------------编程问答-------------------- 哪来的body --------------------编程问答-------------------- 这都是那一年代的问题啊?现在还没解决? --------------------编程问答-------------------- 有frameset就不能有body,可以把body去掉
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,