登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

月亮下的故事

用音乐与自己对话……

 
 
 

日志

 
 

〖素材〗虚线背景图框(代码)

2006-09-17 18:14:56|  分类: 精品素材 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
广寒仙子欢迎大家光临广寒宫欣赏!
 
广寒仙子欢迎大家光临广寒宫欣赏!


广寒仙子欢迎大家光临广寒宫欣赏!
 
女巫根据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-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: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-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><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>

                            
                
 

  

广寒仙子欢迎大家光临广寒宫欣赏!

  

 广寒仙子欢迎大家光临广寒宫欣赏!

 

广寒仙子欢迎大家光临广寒宫欣赏!
  评论这张
 
阅读(738)| 评论(1)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018