DIV table-cell width 100%

Try giving width: 100% to parent so that the child has full width.

<div style='display: table; width:100%; background:#f00;'>
    <div style='height:200px; width:100%; text-align: center; display: table-cell; vertical-align: middle'>No result found</div>
</div>

Try this. Container div must be 100%. Then we can set to child's

<div style="display: table; width: 100%;">
<div style="height: 200px; text-align: center; display: table-cell; vertical-align: middle; width: 100%;">No result found</div>
</div>

Tags:

Html

Css