Song 的个人资料MSN Space技巧归总日志列表 工具 帮助
6月19日

MSN Space技巧--立体彩色边框

MSN Space技巧---立体彩色边框

 

拥有了背景色彩的日志显得生动活泼了许多,那么如何让她更具特色呢?在这一章里我将向大家讲述如何定制具有立体效果的背景样式。

 

我们先从为日志文字添加带有色彩的边框说起,因为其涉及到的CSS边框属性语法是以后制作立体效果边框的基础形式。请记住下面这段语法:

 

<div STYLE="border-style:solid;border-width:5pt; border-color:red">日志文字</div>

 

它会在你的文字外围生成一个红色边框,border-width控制边框的粗细,border-color调整边框的颜色,这里你仍然何以使用前文提到的形式如#xxxxxx的颜色数值,而border-style则控制边框的效果,当使用“solid”则为单一颜色的线形简单边框。

 

接下来我们再将上述语法扩展一下,就可以获得具有立体效果的彩色边框。那么从何下手呢?其实就是在border-style后面使用不同的语法描述:

 

Solid 简单线形边框   Double 简单双线边框   Groove 沟线立体效果边框 Ridge 脊线立体效果边框   Inset 嵌入线立体效果边框  Outset 浮出线立体效果边框

 

你可以在MSN Space日志中尝试一下上面不同的语法,然后在预览中观看效果。

 

通过定制边框的方法再将上一教程添加色彩的语法嵌套其中,你就可以创造出具有立体效果的彩色日志背景。

 

例如:<div STYLE="border-style:outset;border-width:2pt; border-color: red">
<div style="width:100%;height:100%;background-color:#ffff00;">日志文字
</div></div>

 

使用上述语法将会为你呈现一个黄底色红边框的浮出线效果背景,其实上述语法还有其他形式的简化写法,这里不再赘述,只采用上述较直接易理解形式。

 

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

 

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>,然后再返回到文本编辑模式,你就会发现边框背景内已经为你加入了回车后的效果。

效果

在添加视频音频方面取得突破性进展,分析了相关语法和网页代码后,总结出简单的语法形式,无需再使用Frontpage以及我在以前介绍贴视频的日志中提到Dreamweaver,大家只需简单的将语法插入到日志中就可以搞定。今天,我非常高兴!!


感谢loadmemory的分享!




词嘲墨尽

您是第位朋友

任何疑问请进入我的留言本

评论 (189)

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。

若要添加评论,请使用您的 Windows Live ID 登录(如果您使用过 Hotmail、Messenger 或 Xbox LIVE,您就拥有 Windows Live ID)。登录


还没有 Windows Live ID 吗?请注册

没有名字发表:
037Our website have many goods,<A href="http://www.newstylerolex.com/" title="Cheap Brand Name Watches">Rolex</A> -
<A href="http://www.newstylerolex.com/" title="Replica Rolex">Replica Rolex</A> -
<A href="http://www.newstylerolex.com/" title="Brand Name Watches">Replica Watches</A> -
<A href="http://www.newstylerolex.com/" title="Brand Name Watches">Rolex Watches</A> -
<A href="http://www.sunglassvip.net" title="Welcome to our Replica Watches website">Replica rolex</A> -
<A href="http://www.sunglassvip.net" title="high quality timepieces">Rolex</A> -
<A href="http://www.2g-3g.com" title="high quality timepieces">Rolex</A>
<A href="http://www.watches-life.com" title="cheap price">Rolex</A>
<A href="http://www.watches-life.com" title="cheap price">Replica Rolex</A>
<A href="http://www.rolex-hot.com" title="cheaper price">Rolex</A>
<A href="http://www.rolex-hot.com" title="cheaper price">Replica Rolex</A>
<A href="http://www.vertuexclusiveshop.com" title="cheaper vertu">Vertu</A>
<A href="http://www.vertuexclusiveshop.com" title="cheaper Replica vertu">Vertu Replica</A>,
<A href="http://www.e-lv.net" title="Replica handbags">Replica handbags</A>,
<A href="http://www.enjoy-watches.com/" title="high quality watches">Rolex</A>,
<A href="http://www.enjoy-watches.com/" title="Brand Name Watches">Replica Watches</A>,
<A href="http://www.iphonebatteries.org/" title="Batteries,Phone Batteries">Phone Batteries</A>,
<A href="http://www.lrolex.com/">Rolex</A>,
<A href="http://www.newstylerolex.com/">Omega</A>,I belive that you will like them !037
5 天以前
8 月 4 日
没有名字发表:
For Final Fantasy 11 Cheats Final Fantasy 11 Gil Dupes and Final Fantasy XI Guides go to http://www.exploitsrus.com/ffxi.html
12 月 31 日
12 月 11 日
12 月 11 日
10 月 26 日
9 月 23 日
没有名字发表:
It's rather ffxi gilamazing how fast aoc goldthis innovation is moving. wow goldEven to keep the like of myself who are deeply involved in the in wow golddustry to go and see the improvement and every element that are taking place on a yearly basis is quite fantastic. maple story mesoOf course one of the driving wow goldfactors of this business is the exponential aoc goldincrease in processor performance. There is no doubt that the magic of chip capability has delivered through the advance in wow goldmicroprocessor allows us to think of wow goldapplication which never would have wow goldbeen possible before. The PC industry is wow power levelingone of the few industries that wow goldcan deliver lower price wow goldequipment at the same time as improving wow power levelingthe capabilities. The storage systems are now delivering Gigabyte of storage as the standard capability.Over 80 million of PCs wow goldare being sold a year. maple story mesosAnd the server market, the higher performance machines that these PCs networked with,are the fastest growing part of this business. The performance of twow goldhose servers is increasing not only because processors are faster, but also because we are wow goldusing multiple-processor machines, socalled SMP designs andwow power leveling clustering nodes together... Great chips, systems developers,wow gold partners who are wow goldsponsoring this event, making this all possible. There is an wow goldincredible opportunity for developers. The applications maplestory mesosthat are written today will sell to an even larger base wow goldof machines out in the market. There is a lot that we're doing to increase the work of good developers-make sure they understand where the PC is going and how wow goldtools can help them now, more and more marketing type of activities making sure they got in with the customers.This is something that we wow goldare going to increase wow power levelingyear after year.
9 月 23 日
没有名字发表:
A friend to buy wow goldTo wow power leveling?On the world's most concessions to the most reputable sites under the single!
9 月 16 日
9 月 14 日
9 月 11 日
9 月 11 日
没有名字发表:

Amberdigital Branch,Southern Stars Enterprises Co is specializing in the development and manufacturing of mp4 advertisement players, SD card players and advertisement LCD displays. Established in 1996, we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.

amberdigital Contact Us
Southern Stars Enterprises Co (Hong Kong Office)
Add:3 Fl, No.2, Lane 2, Kam Tsin Tsuen, Sheung Shui, Hong Kong
Tel:+852 2681 4099
Fax:+852 2681 4586

Southern Stars Enterprises Co (Shenzhen Office)
Add:DE, 16/F, Building 2, Nanguo Tower, Sungang Road, Shenzhen, China
Tel:+86 755 2592 9100
Fax:+86 755 2592 7171

E-mail:sstar@netvigator.com
website:www.amberdigital.com.hk
alibaba:amberdigital.en.alibaba.com[adaffae

8 月 27 日
8 月 9 日
7 月 30 日
没有名字发表:
突破网络封锁 了解外面的世界 自.由.之.门 .无.界.浏.览.下载 欢迎访问 天佑中华
6 月 29 日
Lindy发表:
好長啊 ,5555555555555555555555555555
12 月 23 日
Chris发表:
厉害。。已经用上了^.^
11 月 19 日
粱蕴芝发表:
太感谢了 ,不过还是看不懂 ~
10 月 6 日
ShenWenisa发表:
挺麻烦的。。。
 
8 月 22 日