Membuat kolom tanpa tabel

Membuat kolom tanpa tabel

HTML :

<div class="kotak">
	<div class="kolom">Kotak I</div>
	<div class="kolom">Kotak II</div>
	<div class="kolom">Kotak III</div>
</div>

 

CSS :

.kotak {
	width:100%;
	display:block;
}
.kolom {
	display:table-cell;
	padding:10px;
	border:1px solid #333;
}

 



About Author

root

"To be more advanced does not need to be complicated" because simple it's more easier and better.


Comment & Discussions

  • Imran Nababan
    display:table-cell;

  • Please LOGIN before if you want to give the comment.