#container{ background-color: #EDEDED; display: -ms-flexbox; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: flex; -webkit-flex-flow: row; -ms-flex-flow:row; -moz-flex-flow:row; flex-flow: row; -webkit-flex:1 0 auto; -moz-flex:1 0 auto; -ms-flex:1 0 auto; flex:1 0 auto; -webkit-flex-wrap:no-wrap; -moz-flex-wrap:no-wrap; -ms-flex-wrap:no-wrap; flex-wrap:no-wrap; -webkit-order: 1; order: 1; justify-content:flex-start; align-items:flex-start; } .column{ padding: 1rem; list-style: none; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; flex-flow:row; -webkit-flex-flow: row; align-content:flex-start; align-items:flex-start; justify-content: space-around; align-self:stretch; flex-wrap: wrap; -webkit-flex-wrap:wrap; }
<div id='lhs' class='column' style='width:21%;margin:0px 0px 10px 0px;'> <img src="<?php echo $pic; ?>" /> <div> <p><?php echo $name ?></p><br /> <p><?php echo $info; ?></p> </div> <div> // php code for calling some functions <a href=""></a> </div> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)