Trevon rawls Trevon rawls - 7 months ago 22
CSS Question

Centering issue with HTML & CSS

currently my issue is this:
Browser: Chrome

For some reason, it's not centering properly. Below you'll find my code:


<div id="wrapper">
<h1>Test Text</h1>
</div> <!-- wrapper div end -->


#wrapper {
width: 100%;
max-width: 960px;
margin: 0 auto;


Use text-align: center; to center the heading text within the div.