|
|
ต่อไปเป็นส่วนของ Head ย่อย

รูปที่เราต้องใช้คือ 3+1 รูป
m1 คือรูปที่เป็นหัวข้อ ขนาก 470*ความสูง ตามต้องการ
m2 คือรูปที่เป้นส่วนต่อจาก m1 ที่มีลิ้งอยู่ ขนาด 470*25
m3 คือBG ของหัวย่อย ขนาด 470*XX จะเปนพื้นหลังที่เรียงต่อกันไปเรื่อยๆ
m4 คือส่วนต่อท้าย m3 จะมีหรือไม่มีก็ได้ 470*XX ผมแนะนำ 30
เราจะใช้โคทนี้ในการทำคับ
<style>
.section h1 { background: url(m1)!important;background-repeat:no-repeat!important; border:none;margin-top:7px!important;height:ความสูงของm1px}
.section h2 { background: url(m2)!important;background-repeat:no-repeat!important; border:none;margin-top:0px!important;height:25px}#recent-updates .subsection,#lifestyle .subsection,#interests .subsection,#user-fives .subsection,#friends .subsection,#photoAlbums .subsection,#comments .subsection,#widgets .subsection,#groups .subsection,#videos .subsection,#journalDetail
.subsection{ background: url(m3)!important;background-repeat:repeat!important; border:none;margin-top:0px!important;}#recent-updates .footer,#lifestyle .footer,#interests
.footer,#user-fives .footer,#friends .footer,#photoAlbums .footer,#comments .footer,#widgets .footer,#groups .footer,#videos .footer,#journalDetail
.footer { background: url(m4)!important;background-repeat:no-repeat!important; border:none;margin-top:0px!important;height:ความสูงของm4px}
</style>
[ แก้ไขล่าสุด RicKuKunG เมื่อ 30-4-2008 14:10 ] |
-
1
จำนวน
-
|