For my webpage, I wanted to add an extended flag at the top by creating three horizontal stripes:
CSS
#main1 div{
width: auto;
height: 20px;
margin: 0px
HTML
<div id="main1">
<div style="background-color:red;"></div>
<div style="background-color:blue;"></div>
<div style="background-color:orange;"></div>
I'm struggling with getting the flag to stick right up to the edge of the browser without any gaps on the sides or top. Is there a better or easier way to achieve this? Please keep in mind that I am still learning and consider myself a novice in web design.
Your help would be greatly appreciated! Thank you