OCSme's profile光速幻想™ FaNtaSy:Speed of L...PhotosBlogListsMore Tools Help

Blog


    设置日志缤纷背景

    MSN Space中日志的背景颜色随不同的模版类型而有所变化,但并不提供给用户自定义背景颜色的功能(整个首页的背景色可用Tweak UI模块),但我们可以通过编辑HTML语言的方式来实现这一目的,让日志随我们的心情而变换不同的色彩。

     

    在HTML模式下编辑日志,将下列语句放置到编辑页面中:

     

    <div style="width:100%;height:100%;background-color:#990000;"></div>

     

    注意,这里需要你略微调整一下,将<p></p>嵌套在这一语句中,即如下形式:

     

    <div style="width:100%;height:100%;background-color:#990000;"><p></p></div>

     

    在<p>和</p>之间试着打几个字,然后点击预览日志,可以看到日志的背景颜色已经改变。当你想更改不同色彩的时候,只需将#990000这个颜色编码的数值加以调整就行了(注意不要丢了这个符号#)。如何获取自己心仪的色彩的数值呢?如果你手头有图形处理软件或网页编辑软件,使用里面的调整色彩功能,都会获取相应的数值。(可以参看:常用颜色代码

     

    一个色彩还不够丰富,我想要五颜六色的生活!没问题,重新回到HTML语法编辑状态,在你想使用其他色彩的文字前再加入上面HTML语句,然后调整色彩值。这里还需注意两点:一是仍然注意要把文字部分嵌套在上述语句中,二是为达到最佳效果必须调整提供不同色彩的HTML语句中的高度比值,至于什么值比较合适,就得根据文字内容的长短了,你可以边调整,边预览之。

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Aug. 29
    喜好孤单wrote:
    请问我想设置自己的MSN空间风格 可以做到么?
    Mar. 26

    Trackbacks

    The trackback URL for this entry is:
    http://deepmoverhythm.spaces.live.com/blog/cns!AADB175D2220D137!448.trak
    Weblogs that reference this entry
    • None