Gene's profile≡ 能量魔法 ≡PhotosBlogListsMore Tools Help

    網誌背景圖教學

    主旨:暫時解決網誌無法自訂背景的困擾..


    ☺網誌背景圖產生器 完成嚕   耶~  (5/1)
    現在放村長那喔 按這

    感謝親愛的村長熱心指導我

     
    另一個網址 http://msnmagic.unet.cc/

    1. 到目前為止僅適用Microsoft Internet Explorer 上而已。
    2. 因為MSN Spaces擋掉了background-image: url() 的通用背景樣式設定...
    3. 是無意間測試發現的.....^^"
    4. 最下面有 Step by Step 教學 。 (4/19修改)
    5. 使用半透明背景主題的人士,加上濾鏡會與MSN Spaces的濾鏡發生衝突,效果大減。

    要如何模擬成有背景圖片呢?

    HTML語法:(紅色為關鍵部份,不可去掉) 

    本文寬與本文高設定成 100% 就能延展擴大至整個網誌內容....像本篇背景

    *1.只要設定背景圖片位址和寬高(純網誌背景圖而已)(background-color: TRANSPARENT;已省略)

    <div style="WIDTH: 100%;">
    <img height="圖高" src="背景圖片" width="圖寬" align="right">
    <div style="float:left;WIDTH: 100%; ">
    內容
    </div>
    </div>
     

    *.最簡單背景之設法(純網誌背景圖而已)(連圖寬都不用設) <- 4/17

    <img src="背景圖片" align="right">
    <div style="float:left;WIDTH: 100%;">
    內容
    </div>
     

    *2.可自行設定本文寬、本文高(需使用絕對大小如px),也可自行加線框,配合★圖層框框製作附加捲軸變化 教學,會有豐富效果。

    HTML部分(background-color: TRANSPARENT;已省略)

    <div style="WIDTH: 本文寬; HEIGHT: 本文高;">
    <img height="圖高" src="圖片位址" width="圖寬" align="right">
    <div style=" WIDTH: 本文寬; HEIGHT: 本文高;">
    內容
    </div>
    </div>
     

    範例:

    HTML:

    <div style="WIDTH: 109px; HEIGHT: 108px;">
    <img height="108px" src="http://storage.msn.com/x1pw_6EGuGCxXCMx46GPzrYuVVA27PnQROvKQbnBS92FTAzXu41h1iYKIUxwFaK4un2jHce9TcoXNqj4_u1Z5mApG-Nq-P-zTUe" width="109" align="right">
    <div style="float:left; background-color: TRANSPARENT;WIDTH: 109px; HEIGHT: 108px; ">
    <br>
    <font color="#FF00FF">內容
    <br>
    <br>
    圖片在文字下方</font>
    </div>
    </div>


    結果:
     


    內容

    圖片在文字下方

    $進階用法:

    在前景部份(上方部份)可以換成圖片濾鏡

    範例 1(文字變透明):

    HTML:

    把【background-color:TRANSPARENT;】
    換成其中一種濾鏡【filter:alpha(opacity=35,finishOpacity=35,style=0);】

    <DIV style="WIDTH: 109px; HEIGHT: 108px"><IMG height=108 src="http://storage.msn.com/x1pw_6EGuGCxXCMx46GPzrYuVVA27PnQROvKQbnBS92FTAzXu41h1iYKIUxwFaK4un2jHce9TcoXNqj4_u1Z5mApG-Nq-P-zTUe" width=109 align=right>
    <DIV style="FLOAT: left; WIDTH: 109px; HEIGHT: 108px;
    filter:alpha(opacity=50, finishOpacity=50,style=0)"><BR>
    <b><FONT color=#ff00ff>內容 <BR><BR>圖片在文字下方</FONT></b></DIV></DIV>


     

    結果:【文字也變透明了】
     


    內容

    圖片在文字下方

     

    範例 2(圖片也重疊了):

    HTML:【再把內容換成圖片】

    <DIV style="WIDTH: 109px; HEIGHT: 108px"><IMG height=108 src="http://storage.msn.com/x1pw_6EGuGCxXCMx46GPzrYuVVA27PnQROvKQbnBS92FTAzXu41h1iYKIUxwFaK4un2jHce9TcoXNqj4_u1Z5mApG-Nq-P-zTUe" width=109 align=right>
    <DIV style="FLOAT: left; WIDTH: 109px; HEIGHT: 108px;
    filter:alpha(opacity=50, finishOpacity=50,style=0)">
    <IMG height=108 src="http://storage.msn.com/x1plMlLh5OuvLUJCkwU76rRa6brGDcBU02OcTTQi4o59hUqkhhrPM7IRjO0QKmfhyvBdGeOTA3KwnrqmMuW1B3tMkW6TSUM-MlhBX7DCiDOt3aQnWkFSBDpug" width=109></DIV></DIV>

     

    結果:【圖片也變透明了】

     

    在背景部份(下方部份)也可以多加圖片濾鏡

    範例:

    HTML:背景圖多加圓形濾鏡

    <div style="WIDTH: 109px; HEIGHT: 108px;">
    <img height="108px" src="http://storage.msn.com/x1pw_6EGuGCxXCMx46GPzrYuVVA27PnQROvKQbnBS92FTAzXu41h1iYKIUxwFaK4un2jHce9TcoXNqj4_u1Z5mApG-Nq-P-zTUe"
    style="FILTER: alpha(opacity=100, finishOpacity=0,style=2)" width="109" align="right">
    <div style="float:left; background-color: TRANSPARENT;WIDTH: 109px; HEIGHT: 108px; ">
    <br>
    <font color="#FF00FF">內容
    <br>
    <br>
    圖片在文字下方</font>
    </div>
    </div>

    結果:


    內容

    圖片在文字下方

     

     

    *因為只有一種方法可以實現背景圖,那就是把本文浮動置左,圖案浮動置右。所以也造成圖片永遠在右邊的問題。

    這裡提供一個解決辦法,可以讓圖片 永遠置左HTML語法:(就是多加一個透明圖片,一起置右,置右寬度是100%)

    <div style="WIDTH: 100%; ">
    <img src="透明圖片" width=100% align="right"><img height="圖高" src="背景圖片" width="圖寬" align="right">
    <div style="float:left; WIDTH: 100%; ">
    內容
    </div>
    </div>
     

    提供一個透明圖片位址: http://kr.img.blog.yahoo.com/ybi/1/63/8e/gene7299/folder/3/img_3_7_0?1113334951.gif

     

     

    這裡提供一個解決辦法,可以讓圖片"強制" 永遠置中

    嘿嘿....那就是多包一層<DIV align=center>拉...相對的要填好本文寬度

    HTML語法 :

    <div align=center>
    <div style="WIDTH: 本文寬; ">
    <img src="背景圖片" width="100%" align="right">
    <div style="float:left; WIDTH: 100%; ">
    內容
    </div></div></div>
     

     

    國良先生的反應:


    我試了一下「float:left; background-color: TRANSPARENT」可以省略,DIV本身就是透明的。
    http://spaces.msn.com/members/klcincn/Blog/cns!1pWxxpDggkEo38woh3bmyOEQ!129.entry
    很可惜只能用在IE。這不算BUG,只是各家瀏覽器支援CSS及實作程度的差異。

     

    答:

     在經過重複測試後,float:left;要不要加要看情形 ,如果你只要有一個<DIV>限定本文框且是絕對大小(如 px,pt)的話則可以省略;反之如果沒有半個<DIV>限定本文框且裡面那層<DIV>設成相對大小(如100%),則要加上float:left ; 所以如果想把網誌內容能擴展全部介面的話,float:left ;是不可省略的,但是如果都沒設寬度,就算加了float:left ;也無用。

    在查書之後,DIV本身就是透明的,而且background-color: TRANSPARENT; 也沒有下向下兼容的問題,MSN也不太可能把每個DIV故意設成其他顏色,所以是可以省略的。大家想調整透明度,可以加上濾鏡(見前景部份)

    最後當然也改了部份教學..4/17

     

     

    ellie 的反應 :

    提問,普通背景我試過了,已經沒有問題,但是我想問
    「波形效果 :
    <DIV style="FILTER: Wave(strength=5,lightstrengh=5); WIDTH: 134px; HEIGHT: 140px"><img src="圖片.jpg" ></div>」
    這個指令,能不能和背景和在一起,我試了一下,還是不知道把這個命令加在哪合適。。。苦惱中。。。


    答 :

        使用其他濾鏡,請代換FILTER:的參數即可 ,所以你可以用FILTER: Wave(strength=5,lightstrengh=5);代換上述範例HTML裡的紅色字即可。

    Step by Step 教學:

    1. 請先輸入好你的網誌內容。
        
       
    2. 打開記事本複製以下內容 

      置左及置右人士:

      <div style="WIDTH: 100%; ">
      <img src="透明圖片" width=100% align="right"><img height="圖高" src="背景圖片" width="圖寬" align="right">
      <div style="float:left; WIDTH: 100%; ">
      內容
      </div>
      </div>

       

      置中人士: 

      <div align=center>
      <div style="WIDTH: 本文寬; ">
      <img src="背景圖片" width="100%" align="right">
      <div style="float:left; WIDTH: 100%; ">
      內容
      </div></div></div>

       
       
    3. 置左及置右人士要看此步驟:

      輸入透明圖片位置(為了置左用)....
      如果覺得沒差請把<img src="透明圖片" width=100% align="right">刪除就能還原成置右,然後請跳到下一步
      (提供一個透明圖片位址: http://kr.img.blog.yahoo.com/ybi/1/63/8e/gene7299/folder/3/img_3_7_0?1113334951.gif)
       


       
    4. 置左及置右人士:捲軸拉到最右邊...輸入你要放的 "背景圖片網址" 和  圖寬 、圖高。




      圖寬、圖高 隨你高興設多大就多大
      不過也可參考這個(附近即可)
      (網誌最大寬度圖)


      置中人士:

      1.依照你的網誌大小,填入不要比上圖(網誌最大寬度圖)還大的本文寬值
      2.輸入你要放的 "背景圖片網址"




       
    5. 像本篇輸入好之後如下圖,之後看你要不要替背景加上圓形濾鏡,如果不要請跳到第 7 步。
       

       
      像本篇範例要放此圖

       
       
       
    6. 請在  align="right" 的後方 輸入理想的濾鏡 ,如 style="FILTER: alpha(opacity=100, finishOpacity=0,style=2)"
      更多濾鏡參考(圖片濾鏡
       


       
       
    7. 把該填的填完之後,請從第 1 行複製到 "內容" 那一行

       


       
    8. 回到你的網誌編輯處,打開"網誌內容擴充編輯器" ,
      並把 使用 HTML 格式建立網頁。 打勾,見到下一步驟

      (沒有「使用HTML格式建立網頁」這個欄位 ..要看MSN Spaces 編輯網誌內容擴充工具直接使用 原網誌編輯工具網址才有)


       
       
    9. 把 使用 HTML 格式建立網頁。 打勾之後,
      請在所有內容的最上面貼上剛剛在第7步驟裡 [記事本] 複製的內容。




       
    10. 貼完之後如下圖,再把多餘的 內容 兩字刪除



       
       
    11. 置左及置右人士:刪掉之後,請把捲軸拉至最底,請在所有內容的最後方輸入 </div></div>

      置中人士:
      刪掉之後,請把捲軸拉至最底,請在所有內容的最後方輸入 </div></div></div>


       
    12. 把 使用 HTML 格式建立網頁。 打勾取消之後,就能看到成功的變化囉。

      (最後請注意 ,已設好背景圖片的網誌內容,直接在網頁上編輯可能會影響到圖片寬度,如果真的影響到,在勾上 使用 HTML 格式建立網頁。在網誌內容最前端找到width=修改回來) 




       
    13. 謝謝你的觀賞.

       
    14. 有任何問題一定要先到    看看喔



      Edit 

    15. 下面是本篇Step by Step教學範例完成的結果

     

     

     










    Comments (487)

    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

    Truely a nice blog and thanks for your great work. By the way, welcome to our websites: <a href="http://www.shoxsport.com"> cheap adidas shoes </a> and <a href="http://www.hairstraightenersstore.co.uk"> ghd hair straightners</a>. Every men like sport, then, it is quite important to have a pair of right <a href="http://www.shoxsport.com">sports shoes </a> to make you fully enjoy the sports. We provide <a href="http://www.shoxsport.com">nike sport shoes</a> , <a href="http://www.shoxsport.com">cheap sport shoes</a>, <a href="http://www.shoxsport.com">puma cat shoes</a>, <a href="http://www.shoxsport.com"> cheap nike shox </a>shoes, <a href="http://www.shoxsport.com">cheap nike max </a>shoes, <a href="http://www.shoxsport.com"> shox shoes</a>, <a href="http://www.shoxsport.com">nike shox r4</a>running shoes which are brand new and in perfect condition but on discount.
    All of the shoes, including the popular<a href="http://www.shoxsport.com">ferrari shoes</a>puma running shoes, <a href="http://www.shoxsport.com">nike tn dollar</a>,which is the representative shoes of <a href="http://www.shoxsport.com"> nike air max tn</a>shoes are authentic and original of top quality. For people like running and playing basketball and other field sports, nothing would be more suitable than the <a href=http://www.shoxsport.com>puma shoes </a> and <a href=http://www.shoxsport.com>nike shox nz </a>basketball shoes. In addition to the shoes mentioned above, you may also be interested in the <a href=http://www.shoxsport.com> cheap adidas shoes</a> ,<a href=http://www.shoxsport.com> JORDAN WOMEN SHOES</a> and <a href=http://www.shoxsport.com>nike running shoes</a>, <a href=http://www.shoxsport.com>puma shoes</a> , <a href=http://www.shoxsport.com> Nike Air Max Tn </a>shoes and so on. The <a href="http://www.shoxsport.com"> Nike air max </a> series are specially designed and made for runners. It is the professional <a href="http://www.shoxsport.com">NIKE WOMEN SHOES</a> <a href="http://www.shoxsport.com">jordan women shoes</a>for running . Wholesale and retail are both acceptable to us. Welcome to our site and free to look! Thank you and wish you a nice day. Good Luck!Everybody like beauty, which is quite commen, especailly womens. Welcom to our store which is focused on selling<a href="http://www.hairstraightenersstore.co.uk">ghd hair straighteners mk4</a>and <a href="http://www.shoxsport.com">hair straightners</a>. For women, especially the young girls, this <a href="http://www.shoxsport.com">pink ghd hair straighteners</a>is the best choice. <a href="http://www.shoxsport.com">ghd hair straightners</a>is famouse for the pretty outlook and the top quality. The price of this <a href="http://www.shoxsport.com">cheap ghd hair straighteners</a>is acceptable and rational.
    The <a href="http://www.shoxsport.com">ghd iv styler hair straightener</a> is the newest product with a nice outlook and top quality.<a href="http://www.shoxsport.com">ghd mk4 hair straightener</a>, <a href="http://www.shoxsport.com">purple ghd hair straighteners</a> is beautiful, favourite by girls. <a href="http://www.shoxsport.com">ghd hair straightners</a>is necessary for you. It will be not difficult to you to become beautiful.
    Nov. 10
    Sept. 28
    July 23
    wrote:
    大哥~!我求你了,我按照你的方法,整个过程中遇到N个问题....每个小问题都纠结的要死,弄了一个整天,还是没有结果。麻烦你救救我,小女子下跪了.......我的空间地址:http://myall-qubersherry.spaces.live.com 以前日志的背景就是用的黑色透明度60%,所以有空间里的背隐约的显现在那,挺好的。可现在不知道微软又搞了什么,日志背景无法透明,就是全黑色,我实在无言了。如果可以,能否我给你我的空间密码,你帮我处理一下。或者我有QQ:57030787,麻烦你加我。空间里也有我电话....小女子实在弄不好啊........
    麻烦你救救我,小女子再次下跪了.......
    July 17
    July 14
    美杜莎wrote:
    试了一下,还是不太明白,不过还是要谢谢主人的详解
    Feb. 12
    Eunicewrote:
    怎么办好丫?
    我还是看不懂~
    Jan. 13
    呵呵~
    還是不懂~
    好難懂喔~
    怎麼辦呢?
    Dec. 10
    Janice Hawrote:
    終於成功啦~~~ 哈哈哈
    多謝晒!
    Nov. 11
    Croskywrote:
    谢谢你。。。很不错
    Oct. 11
    看的眼花缭乱 
    Sept. 9
    rainbow wangwrote:
    实在没弄懂! 看来是没救了!!!!
    Aug. 29
    好詳細  謝謝!
    July 3
    鸵 鸵wrote:

    ━═۰•●๑۩۞۩. ① gè rén de wǔ cān  .๑۩۞۩●•۰═━

    June 29
    zeng cocowrote:
    太夸张了,好难!!
    June 14
    太复杂了,不是很明白。
    May 17
    Cicelywrote:
    小綠人,你的這篇教程是不是已經失效了?爲什麽我的實驗總不成功:(
    May 16
    好啊!!!
    Apr. 19
    C.H. Liuwrote:
    谢谢
    Mar. 11
    千间_朔wrote:
    还是不会
    Feb. 6