ตั้งค่าการอ่าน

ค่าเริ่มต้น

  • เลื่อนอัตโนมัติ
    ^O^กระจุ๊กกระจิ๊กแต่งไอดี^O^

    ลำดับตอนที่ #554 : โค้ดการใส่ภาพในแบบต่างๆ (รวมทุกโค้ดเลยคะ)

    • เนื้อหานิยายตอนนี้เปิดให้อ่าน
    • 151
      0
      10 ธ.ค. 51

    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>

    ติดตามเรื่องนี้
    เก็บเข้าคอลเล็กชัน

    นิยายที่ผู้อ่านนิยมอ่านต่อ ดูทั้งหมด

    loading
    กำลังโหลด...

    อีบุ๊ก ดูทั้งหมด

    loading
    กำลังโหลด...

    ความคิดเห็น

    ×