Codeรูป
Codeรูป
<img src="Url รูป " border="0" alt="by zalim-code.com " />
Code ใส่ภาพในกล่องคอมเม้นต์ hi5
Code Commemt Hi5
<style type="text/css">textarea {background-image:url( ใส่ URL ของรูป );border-style: inset;color: โค้ดสีของตัวอักษรเวลาที่พิม ;height: ความสูงของ CommentBox หน่วยเป็น px;width:ความกว้างไม่ควรเกิน 450px; }</style>
Code Commemt ใส่บล๊อค ไดอารี่
<style type=text/css>textarea{width: 450 ;height: 240 ;background:url( Url รูปภาพ);color=#โค้ดสี ; font-family : tahoma ; font-size: 20pt ; </style>
ถ้าใส่ ใน script จะแสดงทุกหน้าเว็บเลยนะ
ถ้าใส่ ใน table ก้อจะแสดงแค่table นั้น
450 = ความกว้าง แก้ตัวเลขตามต้องการได้
240 = ความสูง แก้ตัวเลขตามต้องการได้
CODE BG แบบใส่ภาพตามมุมสุดเก๋ (เพือนๆลองนำภาพเกาหลีไปใส่นะค่ะ รับรองพื้นหลังเราจะน่ารักไม่เหมือนใคร)
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>
เครดิต โค้ดbg ตามมุมจากคุณ KungGuenter