Forum Teen
Bạn có muốn phản ứng với tin nhắn này? Vui lòng đăng ký diễn đàn trong một vài cú nhấp chuột hoặc đăng nhập để tiếp tục.

Forum Teen

Forum Teen
 
Trang ChínhLatest imagesTìm kiếmĐăng kýĐăng Nhập
Tìm kiếm
 
 

Display results as :
 
Rechercher Advanced Search
Top posters
contimvui
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
quaybanhnha
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
bavenbu
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
potatohaha
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
myxaurang
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
nguyenanhla
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
kokokoko
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
quochungho
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
Meokhocnhe
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
truyencaobeo
Tạo module theo ý thích Vote_lcap1Tạo module theo ý thích I_voting_barTạo module theo ý thích Empty 
Latest topics
» KFC có khuyến mãi nào hấp dẫn không mọi người ơi?
Tạo module theo ý thích I_icon_minitimeWed May 01, 2019 2:13 am by mrperfecthuy

» Gà KFC không chỉ ngon mà câu chuyện đằng sau nó cũng cực kì ý nghĩa
Tạo module theo ý thích I_icon_minitimeWed May 01, 2019 12:44 am by knesslac

» Menu "vạn món mê" của KFC
Tạo module theo ý thích I_icon_minitimeTue Apr 30, 2019 11:29 pm by quaybanhnha

» Thích KFC, dù là tuổi nào thì cũng thích KFC
Tạo module theo ý thích I_icon_minitimeTue Apr 30, 2019 9:12 pm by Meokhocnhe

» Cùng chia sẻ tình yêu KFC nào!
Tạo module theo ý thích I_icon_minitimeTue Apr 30, 2019 7:58 pm by contimvui

» Ăn trưa tại KFC, tại sao không ?
Tạo module theo ý thích I_icon_minitimeSat Mar 30, 2019 10:29 pm by Meokhocnhe

» [KFC cho mình nhiều hơn những món ăn ngon]
Tạo module theo ý thích I_icon_minitimeFri Mar 29, 2019 10:11 am by quochungho

» Ở nhà mà vẫn được măm ẩm thực thế giới
Tạo module theo ý thích I_icon_minitimeFri Mar 29, 2019 9:45 am by hana95

» "Team “mô hâm phạn” KFC lâu năm điểm danh nhẹ nào!
Tạo module theo ý thích I_icon_minitimeFri Mar 29, 2019 5:16 am by contimvui

Navigation
 Portal
 Diễn Đàn
 Thành viên
 Lý lịch
 Trợ giúp
 Tìm kiếm

 

 Tạo module theo ý thích

Go down 
Tác giảThông điệp
Moon
Admin



Tổng số bài gửi : 80
Join date : 01/06/2010

Tạo module theo ý thích Empty
Bài gửiTiêu đề: Tạo module theo ý thích   Tạo module theo ý thích I_icon_minitimeFri Jun 04, 2010 3:31 am

Tạo module theo ý thích Module2-1
Theme
này không phải dành cho toàn blog mà chỉ dành cho các module cột nhỏ
thôi.... Các thành phần khác sẽ được hướng dẫn trong các entry tiếp
theo.



Module cột nhỏ
Bao gồm 4 phần (theo cách thiết kế của mình, của người khác có khi tới 8 phần hoặc chỉ có 3 phần)
- Phần trên cùng (Top)
- Phần Tiêu đề (Head)
- Phần nội dung (Body)
- Phần dưới cùng (Bottom)


Định nghĩa tên module trong code CSS

.col-150
= Áp dụng cho những module nằm trong cột nhỏ.
#article_new = Bài Mới Nhất
#search_module = Tìm
#calendar = Lịch
#folder = Thư Mục Riêng
#update_date = Cập Nhật Ngày
#statistic = Thống Kê
#friendlist_module = Danh Sách Bạn Bè
#comment_new = Bình Luận Mới Nhất
#rss_output = RSS
#feature_mb = Bảng Tin Nhắn
#user_mod_10001 = Module tự tạo 1
#user_mod_10002 = Module tự tạo 2
#user_mod_10003 = Module tự tạo 3

#user_mod_1000x = Module tự tạo x


Áp dụng
Bạn cần lưu ý những điều sau trước khi áp dụng.
- Bỏ những code mà bạn đang sử dụng cho các module cột nhỏ.
- Đừng thay đổi gì trong code ... chỉ thay link ... copy và paste vào CSS
- Thay Link Hình bằng những link của phần Top, Head, Body, Bottom nào bạn thích (list bên dưới)
- Sau khi thay link xong, Copy đoạn code dán vào phần CSS (Thiết Kế) của blog.
- Phần Body và Bottom, bạn nên sử dụng 1 cặp giống nhau.



Code của phần giữa (body)


.col-150 .rc_bd,
#friendlist_module .rc_bd ,
#statistic .rc_bd,
#update_date .rc_bd ,
#folder .rc_bd ,
#calendar .rc_bd ,
#search_module .rc_bd ,
#article_new .rc_bd ,
#subscribe_highlight .rc_bd ,
#comment_new .rc_bd {background:transparent url(Link Hình) repeat-y top center;}





Các mẫu BODY để bạn lựa chọn : (copy và thay vào phần Link Hình)



Tạo module theo ý thích Th_body1
http://files.myopera.com/yennhi1985/files/module/th_body1.png

Tạo module theo ý thích Th_body10
http://files.myopera.com/yennhi1985/files/module/th_body10.png

Tạo module theo ý thích Th_body11
http://files.myopera.com/yennhi1985/files/module/th_body11.png

Tạo module theo ý thích Th_body12
http://files.myopera.com/yennhi1985/files/module/th_body12.png

Tạo module theo ý thích Th_body13
http://files.myopera.com/yennhi1985/files/module/th_body13.png

Tạo module theo ý thích Th_body14
http://files.myopera.com/yennhi1985/files/module/th_body14.png

Tạo module theo ý thích Th_body15
http://files.myopera.com/yennhi1985/files/module/th_body15.png

Tạo module theo ý thích Th_body16
http://files.myopera.com/yennhi1985/files/module/th_body16.png

Tạo module theo ý thích Th_body17
http://files.myopera.com/yennhi1985/files/module/th_body17.png

Tạo module theo ý thích Th_body2
http://files.myopera.com/yennhi1985/files/module/th_body2.png

Tạo module theo ý thích Th_body3
http://files.myopera.com/yennhi1985/files/module/th_body3.png

Tạo module theo ý thích Th_body4
http://files.myopera.com/yennhi1985/files/module/th_body4.png

Tạo module theo ý thích Th_body5
http://files.myopera.com/yennhi1985/files/module/th_body5.png

Tạo module theo ý thích Th_body6
http://files.myopera.com/yennhi1985/files/module/th_body6.png

Tạo module theo ý thích Th_body7
http://files.myopera.com/yennhi1985/files/module/th_body7.png

Tạo module theo ý thích Th_body8
http://files.myopera.com/yennhi1985/files/module/th_body8.png

Tạo module theo ý thích Th_body9
http://files.myopera.com/yennhi1985/files/module/th_body9.png


Code của phần dưới (bottom)


.col-150 .rc_ft,
#friendlist_module .rc_ft ,
#statistic .rc_ft,
#update_date .rc_ft ,
#folder .rc_ft ,
#calendar .rc_ft ,
#search_module .rc_ft ,
#article_new .rc_ft ,
#subscribe_highlight .rc_ft ,
#comment_new .rc_ft {background:transparent url(
Link Hình) no-repeat center top;height:17px;}




Các mẫu BOTTOM để bạn lựa chọn : (copy và thay vào phần Link Hình)
(bạn nên chọn phần body và phần bottom giống màu nhau)




Tạo module theo ý thích Th_bottom1
http://files.myopera.com/yennhi1985/files/module/th_bottom1.png

Tạo module theo ý thích Th_bottom10
http://files.myopera.com/yennhi1985/files/module/th_bottom10.png

Tạo module theo ý thích Th_bottom11
http://files.myopera.com/yennhi1985/files/module/th_bottom11.png

Tạo module theo ý thích Th_bottom12
http://files.myopera.com/yennhi1985/files/module/th_bottom12.png

Tạo module theo ý thích Th_bottom13
http://files.myopera.com/yennhi1985/files/module/th_bottom13.png

Tạo module theo ý thích Th_bottom14
http://files.myopera.com/yennhi1985/files/module/th_bottom14.png

Tạo module theo ý thích Th_bottom15
http://files.myopera.com/yennhi1985/files/module/th_bottom15.png

Tạo module theo ý thích Th_bottom16
http://files.myopera.com/yennhi1985/files/module/th_bottom16.png

Tạo module theo ý thích Th_bottom17
http://files.myopera.com/yennhi1985/files/module/th_bottom17.png

Tạo module theo ý thích Th_bottom2
http://files.myopera.com/yennhi1985/files/module/th_bottom2.png

Tạo module theo ý thích Th_bottom3
http://files.myopera.com/yennhi1985/files/module/th_bottom3.png

Tạo module theo ý thích Th_bottom4
http://files.myopera.com/yennhi1985/files/module/th_bottom4.png

Tạo module theo ý thích Th_bottom5
http://files.myopera.com/yennhi1985/files/module/th_bottom5.png

Tạo module theo ý thích Th_bottom6
http://files.myopera.com/yennhi1985/files/module/th_bottom6.png

Tạo module theo ý thích Th_bottom7
http://files.myopera.com/yennhi1985/files/module/th_bottom7.png

Tạo module theo ý thích Th_bottom8
http://files.myopera.com/yennhi1985/files/module/th_bottom8.png

Tạo module theo ý thích Th_bottom9
http://files.myopera.com/yennhi1985/files/module/th_bottom9.png





Code của phần Head (Tên tiêu đề)


.col-150 .rc_bd .rc_bc .hd .titlebar .hd ,
#friendlist_module .hd .titlebar .hd ,
#statistic .hd .titlebar .hd ,
#update_date .hd .titlebar .hd ,
#folder .hd .titlebar .hd ,
#calendar .hd .titlebar,
#search_module .hd .titlebar .hd ,
#article_new .hd .titlebar .hd ,
#subscribe_highlight .hd .titlebar .hd {background:transparent url(
Link Hình Head Nhỏ);}

/* Head Lớn (Bình Luận Mới Nhất) */
#comment_new .hd .titlebar .hd {background:transparent url(
Link Hình Head Lớn);}


Các mẫu HEAD để bạn lựa chọn : (copy và thay vào phần Link Hình)
-
Bởi vì Head và phần Top phải tương ứng với nhau nên trước mắt mình chỉ
có 1 mẫu Head. Bạn thay link vào head lớn và head nhỏ. Head lớn dành
cho các module nào có tên dài đến 2 hàng.








Code của phần TOP (Phần Trên Cùng)

.col-150 .rc {background:transparent url(Link Hình) no-repeat center bottom;height:59px;}
#article_new .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#search_module .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#calendar .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#folder .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#update_date .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#statistic .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#friendlist_module .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#comment_new .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#subscribe_highlight .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}
#user_mod_10001 .rc {background:transparent url(
Link Hình) no-repeat center bottom;height:59px;}


Code áp dụng chung (lấy phần này hoặc lấy phần trên, không được lấy cả 2)


.col-150 .rc,
#article_new .rc ,

#search_module .rc
,
#calendar .rc,

#folder .rc ,

#update_date .rc,

#statistic .rc ,

#friendlist_module .rc
,
#comment_new .rc ,

#subscribe_highlight .rc ,
#user_mod_10001 .rc {background:transparent url(Link Hình) no-repeat center bottom;height:59px;}



Các mẫu TOP để bạn lựa chọn : (copy và thay vào phần Link Hình)
- Các bạn có thể chọn bất cứ mẫu TOP nào mình thích, miễn sao nó hợp lý là được.
- Ở phần code dùng chung, chỉ cần sử dụng 1 link duy nhất, tất cả các module trong cột nhỏ đều được áp dụng.



Tạo module theo ý thích Th_search1
http://files.myopera.com/yennhi1985/files/module/th_search1.png


Tạo module theo ý thích Th_search2
http://files.myopera.com/yennhi1985/files/module/th_search2.png


Tạo module theo ý thích Th_search3
http://files.myopera.com/yennhi1985/files/module/th_search3.png


Tạo module theo ý thích Th_search4
http://files.myopera.com/yennhi1985/files/module/th_search4.png



Tạo module theo ý thích Th_statistic
http://files.myopera.com/yennhi1985/files/module/th_statistic.png



Tạo module theo ý thích Th_statistic3
http://files.myopera.com/yennhi1985/files/module/th_statistic3.png


Tạo module theo ý thích Th_statistic4
http://files.myopera.com/yennhi1985/files/module/th_statistic4.png


Tạo module theo ý thích Th_statistic5
http://files.myopera.com/yennhi1985/files/module/th_statistic5.png



Tạo module theo ý thích Th_thongtin
http://files.myopera.com/yennhi1985/files/module/th_thongtin.png


Tạo module theo ý thích Th_time
http://files.myopera.com/yennhi1985/files/module/th_time.png



Tạo module theo ý thích Th_update_date2
http://files.myopera.com/yennhi1985/files/module/th_update_date2.png



Tạo module theo ý thích Th_calendar2
http://files.myopera.com/yennhi1985/files/module/th_calendar2.png


Tạo module theo ý thích Th_calendar3
http://files.myopera.com/yennhi1985/files/module/th_calendar3.png


Tạo module theo ý thích Th_calendar4
http://files.myopera.com/yennhi1985/files/module/th_calendar4.png


Tạo module theo ý thích Th_calendar5
http://files.myopera.com/yennhi1985/files/module/th_calendar5.png


Tạo module theo ý thích Th_camera
http://files.myopera.com/yennhi1985/files/module/th_camera.png


Tạo module theo ý thích Th_camera2
http://files.myopera.com/yennhi1985/files/module/th_camera2.png


Tạo module theo ý thích Th_carlendar1
http://files.myopera.com/yennhi1985/files/module/th_carlendar1.png


Tạo module theo ý thích Th_comment_new2
http://files.myopera.com/yennhi1985/files/module/th_comment_new2.png


Tạo module theo ý thích Th_comment_new3
http://files.myopera.com/yennhi1985/files/module/th_comment_new3.png


Tạo module theo ý thích Th_comment_new4
http://files.myopera.com/yennhi1985/files/module/th_comment_new4.png


Tạo module theo ý thích Th_comment_new_top
http://files.myopera.com/yennhi1985/files/module/th_comment_new_top.png


Tạo module theo ý thích Th_commpass
http://files.myopera.com/yennhi1985/files/module/th_commpass.png


Tạo module theo ý thích Th_download_browser_top
http://files.myopera.com/yennhi1985/files/module/th_download_browser_top.png


Tạo module theo ý thích Th_favorite
http://files.myopera.com/yennhi1985/files/module/th_favorite.png


Tạo module theo ý thích Th_favorite2
http://files.myopera.com/yennhi1985/files/module/th_favorite2.png


Tạo module theo ý thích Th_favorite3
http://files.myopera.com/yennhi1985/files/module/th_favorite3.png


Tạo module theo ý thích Th_folder
http://files.myopera.com/yennhi1985/files/module/th_folder.png

Tạo module theo ý thích Th_folder2
http://files.myopera.com/yennhi1985/files/module/th_folder2.png


Tạo module theo ý thích Th_folder3
http://files.myopera.com/yennhi1985/files/module/th_folder3.png


Tạo module theo ý thích Th_folder4
http://files.myopera.com/yennhi1985/files/module/th_folder4.png


Tạo module theo ý thích Th_folder5
http://files.myopera.com/yennhi1985/files/module/th_folder5.png


Tạo module theo ý thích Th_photo
http://files.myopera.com/yennhi1985/files/module/th_photo.png



Code chỉnh sửa
- Phần code này bắt buộc phải có
- Code này sẽ làm cho các module ở cột nhỏ phù hợp với cách thiết kế hiện tại
- Bạn đừng thay đổi bất cứ cái gì trong phần này, chỉ việc copy và Paste


.col-150 .rc_bd div.rc_bc,
.col-150 .rc_ft div,
.col-150 .hd .titlebar,
.col-150 .rc div,
.col-150 .rc_bd .rc_bc .bd {background:transparent;}

#comment_new .rc_bd div.rc_bc,
#comment_new .rc_ft div,
#comment_new .hd .titlebar,
#comment_new .rc div,
#comment_new .rc_bd .rc_bc .bd {background:transparent;}

#subscribe_highlight .rc_bd div.rc_bc,
#subscribe_highlight .rc_ft div,
#subscribe_highlight .hd .titlebar,
#subscribe_highlight .rc div,
#subscribe_highlight .rc_bd .rc_bc .bd {background:transparent;}
#subscribe_highlight .hd .titlebar .hd {height:27px;}

#article_new .rc_bd div.rc_bc,
#article_new .rc_ft div,
#article_new .hd .titlebar,
#article_new .rc div,
#article_new .rc_bd .rc_bc .bd {background:transparent;}

#search_module .rc_bd div.rc_bc,
#search_module .rc_ft div,
#search_module .hd .titlebar,
#search_module .rc div,
#search_module .rc_bd .rc_bc .bd {background:transparent;}

#calendar .rc_bd div.rc_bc,
#calendar .rc_ft div,
#calendar .rc div,
#calendar .hd .titlebar .hd ,
#calendar .rc_bd .rc_bc .bd {background:transparent;}

#folder .rc_bd div.rc_bc,
#folder .rc_ft div,
#folder .hd .titlebar,
#folder .rc div,
#folder .rc_bd .rc_bc .bd {background:transparent;}

#update_date .rc_bd div.rc_bc,
#update_date .rc_ft div,
#update_date .hd .titlebar,
#update_date .rc div,
#update_date .rc_bd .rc_bc .bd {background:transparent;}

#statistic .rc_bd div.rc_bc,
#statistic .rc_ft div,
#statistic .hd .titlebar,
#statistic .rc div,
#statistic .rc_bd .rc_bc .bd {background:transparent;}

#friendlist_module .rc_bd div.rc_bc,
#friendlist_module .rc_ft div,
#friendlist_module .hd .titlebar,
#friendlist_module .rc div,
#friendlist_module .rc_bd .rc_bc .bd {background:transparent;}

#user_mod_10003 .rc_bd div.rc_bc,
#user_mod_10003 .rc_ft div,
#user_mod_10003 .hd .titlebar,
#user_mod_10003 .rc div,
#user_mod_10003 .rc_bd .rc_bc .bd {background:transparent;}

#user_mod_10002 .rc_bd div.rc_bc,
#user_mod_10002 .rc_ft div,
#user_mod_10002 .hd .titlebar,
#user_mod_10002 .rc div,
#user_mod_10002 .rc_bd .rc_bc .bd {background:transparent;}

#user_mod_10001 .rc_bd div.rc_bc,
#user_mod_10001 .rc_ft div,
#user_mod_10001 .hd .titlebar,
#user_mod_10001 .rc div,
#user_mod_10001 .rc_bd .rc_bc .bd {background:transparent;}

#calendar .hd .titlebar .hd h2 {font-size:15px;color:#FFFFFF;}
#calendar .bd table {height:118px;background:transparent;}
#calendar .titlebar,
#calendar .titlebar .bd a:hover{color:#FFFFD0;}
#calendar .hd,
#calendar .titlebar .bd a {background:transparent;font-weight:bold;font-size:12px;color:#FF0000;}





Xong .... Bạn có thể download mẫu CSS tại đây (mở ra, copy và paste ... xem trước coi nó ra sao)
Về Đầu Trang Go down
https://duyenhai-teen.forumvi.com
 
Tạo module theo ý thích
Về Đầu Trang 
Trang 1 trong tổng số 1 trang

Permissions in this forum:Bạn không có quyền trả lời bài viết
Forum Teen :: Thế Giới Blog :: CSS Code + Thủ thuật-
Chuyển đến