CSDN框架的边界是怎样作出来的?
我作的一个项目,类似于CSDN的框架,但是Frame之间的边界很粗,很难看,不知道怎样设置边界,变细一些,调一下颜色,最好还能隐藏,就像CSDN一样,如何才能实现呢?
[解决办法]
BorderColor
[解决办法]
<FRAMESET id= "fsTop " border= "0 " frameSpacing= "0 " rows= "106,* " topmargin= "0 " leftmargin= "0 "
marginheight= "0 " marginwidth= "0 " cols= "* ">
<FRAME border= "0 " name= "title " marginWidth= "0 " marginHeight= "0 " src= "top.aspx?id=-1 " frameBorder= "no "
noResize scrolling= "no " topmargin= "0 " leftmargin= "0 " borderColor= "#e4e4e4 ">
<FRAMESET border= "0 " name= "search " frameSpacing= "0 " frameBorder= "1 " cols= "190,* " topmargin= "0 "
leftmargin= "0 " rightmargin= "0 " marginheight= "0 " marginwidth= "0 ">
<FRAME border= "0 " name= "dir " marginWidth= "0 " marginHeight= "0 " frameBorder= "0 " topmargin= "0 "
leftmargin= "0 " target= "main " scrolling= "yes " noResize borderColor= "#e4e4e4 " src= "left.aspx "
style= "BORDER-TOP: #000000 1px solid ">
<FRAME style= "BORDER-TOP: #000000 1px solid; BORDER-LEFT: #ffffff 2px groove " border= "2 "
name= "main " id= "main " borderColor= "#e4e4e4 " src= "main.aspx " frameBorder= "no " scrolling= "auto "
marginwidth= "0 " marginheight= "0 ">
</FRAMESET>
</FRAMESET>
function cwin()
{if(parent.search.cols!= '190,* ')
{parent.search.cols= '190,* ';
document.all.pic.src = "img/hide_menu.gif ";document.all.bb.innerHTML= "隐藏快捷栏 "}
else{parent.search.cols= '0,* ';
document.all.pic.src = "img/show_menu.gif ";document.all.bb.innerHTML= "显示快捷栏 "}}
[解决办法]
<frameset name= "fstmain " cols= "219,* " frameborder= "1 " framespacing= "8 " bordercolor= "#3366cc " >
<noframes > 请使用支持 frame 的浏览器或者访问以下地址来进行站点导航:
<a href= "/tree/treenodeData/sitemap.htm " target= "_blank "> CSDN 社区地图 </a>
<a href= "http://topic.csdn.net/t/ " target= "_blank "> CSDN 社区帖子列表 </a>
</noframes>
<frameset name= "fraleftframe " rows= "91,* " framespacing= "0 " frameborder= "0 " >
<frame name= " " src= "/logo/logo.aspx " marginheight= "0 " />
<frame name= " " src= "/Tree/tree.htm " marginheight= "0 " />
</frameset>
<frame name= "ContentFrame " marginheight= "0 " scrolling= "yes " src= "index.htm "> " />
</frameset>