• Как сверстать таблицу дивами?

    @fisherok
    <div class="divTable">
    <div class="divTableBody">
    <div class="divTableRow">
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    </div>
    <div class="divTableRow">
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    <div class="divTableCell">&nbsp;</div>
    </div>
    </div>
    </div>


    .divTable{
    	display: table;
    	width: 100%;
    }
    .divTableRow {
    	display: table-row;
    }
    .divTableHeading {
    	background-color: #EEE;
    	display: table-header-group;
    }
    .divTableCell, .divTableHead {
    	border: 1px solid #999999;
    	display: table-cell;
    	padding: 3px 10px;
    }
    .divTableHeading {
    	background-color: #EEE;
    	display: table-header-group;
    	font-weight: bold;
    }
    .divTableFoot {
    	background-color: #EEE;
    	display: table-footer-group;
    	font-weight: bold;
    }
    .divTableBody {
    	display: table-row-group;
    }
    Ответ написан
    Комментировать