Ever since I added <!DOCTYPE html>
, my CSS has been causing issues.
I realize I should have included the doctype
from the beginning, but I didn't. I suspect the problem may lie within the grid (specifically ag-grid) divs, possibly related to their height. The rest of the page is rendering perfectly fine. Upon inspection, the grid displays no data and appears to have a height of 0 with unstyled headers.
Below is the code for the grid divs:
<div style="height: 100%; clear: left; width: 100%">
<div style="min-width: 630px">
<img ng-show="loaded == false" src="js/angular/assets/img/loading.gif" style="width: 536px; height: 224px; display: block; margin-left: auto; margin-right: auto" />
<img ng-show="error == true" src="js/angular/assets/img/error.png" style="width: 90px; height: 90px; display: block; margin-left: auto; margin-right: auto" />
</div>
<div ng-show="boxDataGrid == true && loaded == true" style="clear: both;">
<div ag-grid="gridOptions1" class="ag-fresh" ng-style="expanded ? {width: '1550px'} : {}"></div>
</div>
<div ng-show="ladderGrid == true && loaded == true" style="clear: both;">
<div ag-grid="gridOptions4" class="ag-fresh" style="height: 100%; width: 100%"></div>
</div>
<div ng-show="ladderDataGrid == true && loaded == true" style="clear: both;">
<div ag-grid="gridOptions5" class="ag-fresh" style="height: 100%; width: 100%"></div>
</div>
</div>
Do you notice anything that stands out as needing to be changed?