use <p align="center"> instead of <div style="text-align: center;"> for GitHub