willearyson borges nunes• 430
@Willearyson
Posted
you need to define a container to align all the content on the page, use these lines
<header> <div class="container"></div> </header> on the style page you define a width and height, background color, margin-left:auto, margin-right:auto.(to center the content) when you notice that the width is ok, you erase the height and the background color and that's it you can put the content of your page inside the container. for example: <section> <div class="container"> .<div class="text"> <h1>something</h1> </div> </div> </section>Marked as helpful
1
Morgan• 100
@morgan03
Posted
@Willearyson Thank you for the tips! I'll make some these changes
0