Chủ đề tổng hợp

header ads

Ứng dụng thẻ div trong bài viết sotayabc.xyz

Xem Link dùng thẻ div chia cột trong bài viết : http://www.sotayabc.xyz/2016/11/code-tu-dong-chen-link-cho-blogspot.html

1. CSS :
<style>
#mainbaiviet{
width: 600px;
padding: 0;
margin-left: auto;
margin-right: auto;
}
#leftbaiviet{
width: 145px;
min-height: 400px;
border: 1px solid #CDCDCD;
float:left;
background-color: #004C00;
margin-bottom: 5px;
}
#contentbaiviet{
width: 440px;
min-height: 400px;
border: 1px solid #CDCDCD;
float:left;
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
}
#rightbaiviet{
width: 145px;
min-height: 400px;
border: 1px solid #CDCDCD;
float:right;
margin-bottom: 5px;
}
</style>


2. Thẻ div : 

<div id="mainbaiviet">
<div id="contentbaiviet">
noi dung
</div>
<div id="rightbaiviet">
<!--noi dung-->
<div id="rp-pre">
<div id="rp-content">
<div id="rp-title">
Sản phẩm gỗ</div>
<a href="http://www.vanlotsan.xyz/">
<img height="150/" src="https://4.bp.blogspot.com/-YVuwVEzwxZ0/WC1h1uagnII/AAAAAAAABjU/7wKVGDDe19se1Mu9yRsGfvLuqCQM0GdmwCLcB/s1600/Sangocaosu1.jpg" width="140" />
</a>
<br />
<center>
<b><a href="http://www.vanlotsan.xyz/">
Sàn gỗ tự nhiên</a> - gỗ cao su - giá Chỉ 460.000đ/m2 - Liên hệ : 0968.970.650</b></center>
<a href="http://ntwood.vn/Thot-Go-385-1.html">
<img height="150/" src="https://c1.staticflickr.com/8/7177/27141709624_0d0678aaf8_c.jpg" width="140" />
</a>
<br />
<center>
<b>Sản xuất<a href="http://ntwood.vn/Thot-Go-385-1.html">
Thớt gỗ </a>theo đơn đặt hàng - Liên hệ 0968.970.650
</b></center>
<a href="http://ntwood.vn/Nguyen-lieu-go-xe-theo-quy-cach-su-lua-chon-sang-suot-cua-cac-nha-san-xuat-398-4.html">
<img height="150/" src="https://lh4.googleusercontent.com/-tLL5vZ4LxGM/VyslBRx4lAI/AAAAAAAABIY/kimhK7urgbkOC-V_HrNWvkGjOaXjvYLIQCLcB/s1600/Phoi%2Btuoi%2Bgo%2Bcao%2Bsu%2Bxe%2Bvan.png" width="468" />
</a>
<br />
<center>
<b>Sản xuất<a href="http://ntwood.vn/Nguyen-lieu-go-xe-theo-quy-cach-su-lua-chon-sang-suot-cua-cac-nha-san-xuat-398-4.html">
Gỗ xẻ theo quy cách </a> - Liên hệ 0968.970.650
</b></center>
<a href="http://ntwood.vn/Go-ghep-theo-quy-cach-su-lua-chon-thong-minh-cua-cac-cong-ty-san-xuat-go-399-4.html">
<img height="150/" src="https://c1.staticflickr.com/8/7178/27362929080_01d477fe84_b.jpg" width="468" />
</a>
<br />
<center>
<b>Sản xuất<a href="http://ntwood.vn/Go-ghep-theo-quy-cach-su-lua-chon-thong-minh-cua-cac-cong-ty-san-xuat-go-399-4.html">
Gỗ ghép theo quy cách </a> - Liên hệ 0968.970.650
</b></center>

<!--Ket thuc noi dung-->
 
</div>
</div>
</div>
</div>

Đăng nhận xét

0 Nhận xét