Tomáš Komprs12,204 Points
Why from 2 same container is affected just One?
We created 2x same div/classes <div class="container"> But why when he ,,target,, class .container in css is affected just the second one from ,,main,, content? It should affect the both no?
Frans de Haan6,303 Points
It's still diffecult to see the exact problem with html only. Can you share your workspace here.
By going to workspaces, then click the workspace you are working in and inside it on make a snapshot the link from the snapshot you can share with us.
The first container is inside the header so only the content inside the container is narowed down. The background-color is specified to the header and streches still to the edges of the screen.
kathryn armitage7,165 Points
I had the same issue. I then put the div outside of the header BUT it showed up with red highlighted text like it was wrong but it worked! :/