RSS
热门关键字:

MSN Spaces单线框代码

来源: 作者: 时间:2006-10-15 Tag: 点击:
女巫根据Loadmemory的教程修改润色后的背景边框代码:

对于背景边框的四个边你也可以按自己的需要进行调整,以左边框为例,你可以使用下述语法:

Border-left-style:solid (double, groove, ridge, inset, outset)定制边框样式
Border-left-color: #xxxxxx定制边框颜色
Border-left-width: xpt 定制边框粗细

其他三个边框只要分别使用Right, Top, Bottom就可以了。将下面的语法放到你的日志中预览一下,看一看是什么效果:(效果这里就不给出来了,有兴趣的可以回去试一下。)

<div style= "border-top-style:outset;border-right-style:outset;border-left-style:outset;
border-bottom-style:outset;background-color:#cc3366">

      你可以按照自己的想法随意调整四个边框的式样,以便创造与众不同的效果,记住一点,不同的属性描述之间用 ; 隔开。另外,你可能会注意到,当你设置完边框返回到日志文本编辑模式,在键入文字过程中如果使用回车键,就会又出现一个边框,从而影响文字的连贯性,这是因为HTML语法中不支持硬回车。要解决这个问题,必须返回到HTML编辑模式,在需要回车的地方键入<br>,需要几次回车就键入几个<br>,然后再返回到文本编辑模式,你就会发现边框背景内已经为你加入了回车后的效果。

  

女巫根据国良先生的教程修改后配色的线框代码,效果如下:                                                                                                                                               <div style="border: 1px dashed #f08080;background-color:#ffdab9">文字</div>
 
      效果是框线颜色为淡珊瑚色#f08080,宽度为1,背景色为桃色#ffdab9的虚线框。

  

<div style="border: 3px dashed #ff4500;background-color:#ffdab9">文字</div>
 
      效果是框线颜色为橙红色#ff4500,宽度为3,背景色为桃色#ffdab9的虚线框。

  

<div style="border: 3px dashed #f08080;background-color:#FFFFE0">文字</div>
 
      效果是框线颜色为淡珊瑚色#f08080,宽度为3,背景色为淡黄色#FFFFE0的虚线框。

 


 <div style="border:3px solid #ffdab9;background-color:#FFFFE0">实线</div>
      效果是框线宽度为3颜色为桃色#ffdab9,背景色为淡黄色#FFFFE0的实线框。

 

 <div style="border-style:outset #ffdab9;background-color:#FFFFE0; border-width:3px;">外凸</div>
      背景色为淡黄色的外凸效果

 

延伸代码:

 

 <div style="border:1px solid #000000;">实线</div>

 

 

 <div style="border-style:outset; border-width:1px;">外凸</div>

 

 

 <div style="border:3px double #000000;">双线</div>

 

 

 <div style="border:1px dashed #000000;">虚线</div>

 

 

 

 

  单线框加背景:                                                                                                                                                                                                        <DIV style="BORDER-RIGHT: #4169e1 10px dashed; BORDER-TOP: #4169e1 10px dashed; BORDER-LEFT: #4169e1 10px dashed; BORDER-BOTTOM: #4169e1 10px dashed; BACKGROUND-COLOR: #e0ffff">  日志文字 </DIV> 

 

 

  

 

小绿人的绿色粗框代码

<DIV><BR><STRONG></STRONG><STRONG></STRONG>&nbsp;</DIV>
<DIV>
<DIV align=center>
<DIV style="BORDER-RIGHT: #339933 2px dotted; BORDER-TOP: #339933 2px dotted; BORDER-LEFT: #339933 2px dotted; BORDER-BOTTOM: #339933 2px dotted">
<DIV style="BORDER-RIGHT: #339933 2px dotted; BORDER-TOP: #339933 2px dotted; BORDER-LEFT: #339933 2px dotted; BORDER-BOTTOM: #339933 2px dotted">
<DIV style="BORDER-RIGHT: #339933 2px dotted; BORDER-TOP: #339933 2px dotted; BORDER-LEFT: #339933 2px dotted; BORDER-BOTTOM: #339933 2px dotted">
<DIV style="BORDER-RIGHT: #339933 2px dotted; BORDER-TOP: #339933 2px dotted; BORDER-LEFT: #339933 2px dotted; BORDER-BOTTOM: #339933 2px dotted">
<DIV style="BORDER-RIGHT: #339933 2px dotted; BORDER-TOP: #339933 2px dotted; BORDER-LEFT: #339933 2px dotted; BORDER-BOTTOM: #339933 2px dotted">
<P align=center><FONT color=#009966 size=5><FONT color=#006600>测试</FONT></FONT></P></DIV></DIV></DIV></DIV></DIV></DIV>
<DIV align=center>&nbsp;</DIV></DIV>

 
 
 
                           
小绿人黄色粗框
 

代码:

<DIV style="BORDER-RIGHT: #ffcc00 3px dotted; BORDER-TOP: #ffcc00 3px dotted; BORDER-LEFT: #ffcc00 3px dotted; BORDER-BOTTOM: #ffcc00 3px dotted">
<DIV style="BORDER-RIGHT: #ffcc00 3px dotted; BORDER-TOP: #ffcc00 3px dotted; BORDER-LEFT: #ffcc00 3px dotted; BORDER-BOTTOM: #ffcc00 3px dotted">
<DIV style="BORDER-RIGHT: #ffcc00 3px dotted; BORDER-TOP: #ffcc00 3px dotted; BORDER-LEFT: #ffcc00 3px dotted; BORDER-BOTTOM: #ffcc00 3px dotted">
<DIV style="BORDER-RIGHT: #ffcc00 3px dotted; BORDER-TOP: #ffcc00 3px dotted; BORDER-LEFT: #ffcc00 3px dotted; BORDER-BOTTOM: #ffcc00 3px dotted"><FONT color=#ff9900 size=6>&nbsp;&nbsp;</FONT><FONT color=#fcfbfa></FONT><FONT color=#ff9900 size=6>&nbsp;</FONT>&nbsp;&nbsp;<FONT color=#333333>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR></FONT><FONT color=#333333><FONT color=#ff9900>小绿人黄色粗框<BR></FONT>&nbsp;
<DIV align=center>
<DIV style="BORDER-RIGHT: #f0c378 2pt dashed; BORDER-TOP: #f0c378 2pt dashed; SCROLLBAR-FACE-COLOR: #ffffb4; SCROLLBAR-HIGHLIGHT-COLOR: #999999; OVERFLOW: scroll; BORDER-LEFT: #f0c378 2pt dashed; WIDTH: 347px; SCROLLBAR-SHADOW-COLOR: #ffccff; COLOR: #ffffff; SCROLLBAR-3DLIGHT-COLOR: #cccccc; SCROLLBAR-ARROW-COLOR: #ffffcc; BORDER-BOTTOM: #f0c378 2pt dashed; SCROLLBAR-DARKSHADOW-COLOR: #999999; HEIGHT: 107px; BACKGROUND-COLOR: #ffffb4">
<P align=left><FONT color=#ff9900>代码:</FONT></P></DIV></DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT color=#6699ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><BR> </DIV></DIV></DIV></DIV>

                            
                
 
 
 
以下为女巫改良后的单线框代码(回车后不会改变):
 
 
代码:
<DIV style="BORDER-RIGHT: #f08080 1px dashed; BORDER-TOP: #f08080 1px dashed; BORDER-LEFT: #f08080 1px dashed; BORDER-BOTTOM: #f08080 1px dashed;
BACKGROUND-COLOR: #ffdab9" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV style="BORDER-RIGHT: #f08080 3px dashed; BORDER-TOP: #f08080 3px dashed;
BORDER-LEFT: #f08080 3px dashed; BORDER-BOTTOM: #f08080 3px dashed; BACKGROUND-COLOR: #ffdab9" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV style="BORDER-RIGHT: #4169e1 5px dashed; BORDER-TOP: #4169e1 5px dashed;
BORDER-LEFT: #4169e1 5px dashed; BORDER-BOTTOM: #4169e1 5px dashed; BACKGROUND-COLOR: #e0ffff" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #ffdab9 3px solid; BORDER-TOP: #ffdab9 3px solid; BORDER-LEFT: #ffdab9 3px solid; BORDER-BOTTOM: #ffdab9 3px solid; BACKGROUND-COLOR: #ffffe0" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #f08080 3px dashed; BORDER-TOP: #f08080 3px dashed; BORDER-LEFT: #f08080 3px dashed; BORDER-BOTTOM: #f08080 3px dashed; BACKGROUND-COLOR: #ffffe0" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #ff4500 3px dashed; BORDER-TOP: #ff4500 3px dashed; BORDER-LEFT: #ff4500 3px dashed; BORDER-BOTTOM: #ff4500 3px dashed; BACKGROUND-COLOR: #ffdab9" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #000000 1px dashed; BORDER-TOP: #000000 1px dashed; BORDER-LEFT: #000000 1px dashed; BORDER-BOTTOM: #000000 1px dashed; BACKGROUND-COLOR: #ffffe0" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #339933 3px dashed; BORDER-TOP: #339933 3px dashed; BORDER-LEFT: #339933 3px dashed; BORDER-BOTTOM: #339933 3px dashed; BACKGROUND-COLOR: #99ff99" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #ffcc00 3px dashed; BORDER-TOP: #ffcc00 3px dashed; BORDER-LEFT: #ffcc00 3px dashed; BORDER-BOTTOM: #ffcc00 3px dashed; BACKGROUND-COLOR: #ffffb4" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV class=content style="BORDER-RIGHT: #ffcc00 5px dashed; BORDER-TOP: #ffcc00 5px dashed; BORDER-LEFT: #ffcc00 5px dashed; BORDER-BOTTOM: #ffcc00 5px dashed; BACKGROUND-COLOR: #fffacd" align=center>
<DIV align=left>文字</DIV></DIV>
 
 
代码:
<DIV style="BORDER-RIGHT: #ff9999 2px solid; BORDER-TOP: #ff9999 2px solid; BORDER-LEFT: #ff9999 2px solid; BORDER-BOTTOM: #ff9999 2px solid; BACKGROUND-COLOR: #ffcc99" align=left><DIV align=left><FONT color=#009900></FONT><FONT color=#ff6600>文字</FONT></DIV></DIV>
 
 
代码:
<DIV style="BORDER-RIGHT: #ffcc00 5px dashed; BORDER-TOP: #ffcc00 5px dashed; BORDER-LEFT: #ffcc00 5px dashed; BORDER-BOTTOM: #ffcc00 5px dashed; BACKGROUND-COLOR: #fffacd" align=center><DIV align=left>文字</DIV></DIV>
 
 
<DIV class=content style="BORDER-RIGHT: #ffcccc 5px dashed; BORDER-TOP: #ffdddd 5px dashed;
BORDER-LEFT: #ffdddd 5px dashed; BORDER-BOTTOM: #ffdddd 5px dashed; BACKGROUND-COLOR:
#fffacd" align=center>
<DIV align=left>文字</DIV></DIV>

 

<DIV class=content style="BORDER-RIGHT: #ffe4c4 5px dashed; BORDER-TOP: #ffe4c4 5px dashed;
BORDER-LEFT: #ffe4c4 5px dashed; BORDER-BOTTOM: #ffe4c4 5px dashed; BACKGROUND-COLOR:
#fffacd" align=center>
<DIV align=left>文字</DIV></DIV>

 

<DIV class=content style="BORDER-RIGHT: #ffd6da 5px dashed; BORDER-TOP: #ffd6da 5px dashed;
BORDER-LEFT: #ffd6da 5px dashed; BORDER-BOTTOM: #ffd6da 5px dashed; BACKGROUND-COLOR:
#ffe4c4" align=center>
<DIV align=left>文字</DIV></DIV>

 

<DIV style="BORDER-RIGHT: #ff99cc 5px dashed; BORDER-TOP: #ff99cc 5px dashed; BORDER-LEFT:
#ff99cc 5px dashed; BORDER-BOTTOM: #ff99cc 5px dashed; BACKGROUND-COLOR: #ffcccc"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #ff99cc 5px dashed; BORDER-TOP: #ff99cc 5px dashed; BORDER-LEFT:
#ff99cc 5px dashed; BORDER-BOTTOM: #ff99cc 5px dashed; BACKGROUND-COLOR: #ffccff"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #ff99cc 5px dashed; BORDER-TOP: #ff99cc 5px dashed; BORDER-LEFT:
#ff99cc 5px dashed; BORDER-BOTTOM: #ff99cc 5px dashed; BACKGROUND-COLOR: #ffd6da"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #ff99ff 5px dashed; BORDER-TOP: #ff99ff 5px dashed; BORDER-LEFT:
#ff99ff 5px dashed; BORDER-BOTTOM: #ff99ff 5px dashed; BACKGROUND-COLOR: #ffcccc"
align=center>
<DIV align=left>文字</DIV></DIV>
 
<DIV style="BORDER-RIGHT: #fcfc48 5px dashed; BORDER-TOP: #fcfc48 5px dashed; BORDER-LEFT:
#fcfc48 5px dashed; BORDER-BOTTOM: #fcfc48 5px dashed; BACKGROUND-COLOR: #ffff99"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #c399d0 5px dashed; BORDER-TOP: #c399d0 5px dashed; BORDER-LEFT:
#c399d0 5px dashed; BORDER-BOTTOM: #c399d0 5px dashed; BACKGROUND-COLOR: #ccccff"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #9966ff 5px dashed; BORDER-TOP: #9966ff 5px dashed; BORDER-LEFT:
#9966ff 5px dashed; BORDER-BOTTOM: #9966ff 5px dashed; BACKGROUND-COLOR: #ccccff"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #9966ff 5px dashed; BORDER-TOP: #9966ff 5px dashed; BORDER-LEFT:
#9966ff 5px dashed; BORDER-BOTTOM: #9966ff 5px dashed; BACKGROUND-COLOR: #9999ff"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #6600ff 5px dashed; BORDER-TOP: #6600ff 5px dashed; BORDER-LEFT:
#6600ff 5px dashed; BORDER-BOTTOM: #6600ff 5px dashed; BACKGROUND-COLOR: #9999ff"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #6600cc 5px dashed; BORDER-TOP: #6600cc 5px dashed; BORDER-LEFT:
#6600cc 5px dashed; BORDER-BOTTOM: #6600cc 5px dashed; BACKGROUND-COLOR: #9999ff"
align=center>
<DIV align=left>文字</DIV></DIV>
 
 
<DIV style="BORDER-RIGHT: #ff99ff 5px dashed; BORDER-TOP: #ff99ff 5px dashed; BORDER-LEFT:
#ff99ff 5px dashed; BORDER-BOTTOM: #ff99ff 5px dashed; BACKGROUND-COLOR: #ffcccc"
align=center>
<DIV align=left>文字</DIV></DIV>

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册