❤ Code สำหรับวางตำแหน่งภาพมุมบล็อก ❤


Code ให้ภาพอยู่ - กลางบล็อก


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position:center;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - มุมซ้ายบน


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position: left top;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - มุมซ้ายกลาง


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position: left center;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - มุมซ้ายล่าง


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position: left bottom;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - มุมขวาบน


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position: right top;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - มุมขวากลาง


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position: right center;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - มุมขวาล่าง


<style>Body {background-image:url("……ใส่ URLของภาพที่จะใช้……");background-position: right bottom;background-repeat: no-repeat;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - เรียงแนวยาวด้านบน


<style>body {background-image:url("……ใส่ URLของภาพที่จะใช้……") ;background-repeat : repeat-x ;background-attachment : fixed; background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - เรียงแนวยาวด้านล่าง


<style>body {background-image:url("……ใส่ URLของภาพที่จะใช้……") ; background-position:bottom ;background-repeat : repeat-x;background-attachment: fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - เรียงแนวตั้งด้านซ้าย


<style>body {background-image:url("……ใส่ URLของภาพที่จะใช้……") ;background-position:left ;background-repeat:repeat-y ;background-attachment : fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>




Code ให้ภาพอยู่ - เรียงแนวตั้งด้านขวา


<style>body {background-image:url("……ใส่ URLของภาพที่จะใช้……") ;background-position:right;background-repeat : repeat-y;background-attachment : fixed;background-color: "……ใส่สีพื้นหลัง……";}</style>





Create Date : 10 กันยายน 2550
Last Update : 16 มกราคม 2551 19:20:30 น.
Counter : 4035 Pageviews.

0 comments

Kungguenter.BlogGang.com

KungHangGerman
Location :
ปทุมธานี  Denmark

[ดู Profile ทั้งหมด]
 ผู้ติดตามบล็อก : 52 คน [?]

บทความทั้งหมด