html - Make div full size of window with NO margin - Stack Overflow
![](https://i.stack.imgur.com/kx2vd.png)
I hate to even ask something that seems so dumb but I just dont get this. All I want to do is have a blue div at the top of my window that stretches across the entire window. I thought width:100%;
![](https://i.stack.imgur.com/um8VQ.png)
css - Div 100% width without margin - SharePoint Stack Exchange
![](https://media.geeksforgeeks.org/wp-content/uploads/20230607205104/Screenshot-(214).png)
How to Set 100% Height with Padding/Margin in CSS ? - GeeksforGeeks
![](https://i.stack.imgur.com/O9ITX.png)
html - Make div full size of window with NO margin - Stack Overflow
![](https://i.pinimg.com/474x/6e/1e/ef/6e1eefb4bd688a681f2e09d6cdda0523.jpg)
How to use chrome web inspector to view hover code - Stack Overflow
![](https://media.geeksforgeeks.org/wp-content/uploads/20231228165117/width2.gif)
How to find the width of a div using vanilla JavaScript? - GeeksforGeeks
![](https://i.stack.imgur.com/GUUD7.png)
html - Make a div take up the full space not used by margins - Stack Overflow
Make A Div Fill The Height of The Remaining Screen Space, PDF, Html Element
![](https://res.cloudinary.com/practicaldev/image/fetch/s--lzV1CA7U--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://res.cloudinary.com/dvfhgkkpe/image/upload/v1578863237/devto/css_gotcha_full_page_div/2020-01-12-16-25-32.png)
CSS Height Full Page: CSS gotcha: How to fill page with a div? - DEV Community
![](https://miro.medium.com/v2/resize:fit:1400/1*kaGxaBR_B3eMlNZUG_1IHw.png)
iPad pointer on the web. A short diary of iPad pointer…, by Pavel Laptev
![](https://i.stack.imgur.com/Fon6P.jpg)
html - Cross browser method to fit a child div to its parent's width - Stack Overflow