# Resizing a browser

**URL:** <https://forum.codewithmosh.com/t/resizing-a-browser/3182>\
**Category:** HTML/CSS\
**Created:** [March 5, 2021, 6:59pm UTC](https://forum.codewithmosh.com/t/resizing-a-browser/3182 "2021-03-05T18:59:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zaan03](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@Zaan03](https://forum.codewithmosh.com/u/Zaan03)\
**Post date:** [March 5, 2021, 6:59pm UTC](https://forum.codewithmosh.com/t/resizing-a-browser/3182/1 "2021-03-05T18:59:15Z")

</div>

Hi guys, I m the very beginner, can’t find where is the issue.  
while resizing the browser screen header text and svg goes all around the place , same for the footer google maps is getting out of the footer block. body is alright , resizing properly.  
would be grateful if someone could write where am i wrong.  
here is the code below and a picture how it looks in a smaller sized window

CSS

.heading\_container  
padding: 60px;  
display: block;  
z-index: 91;  
margin-top: 30px;  
margin-left: 50px;  
margin-right: 50px;  
text-align: center;  
line-height: 20px;  
background: #eaeaea;  
color: #363375;  
font-size: 25pxvw;  
font-family: Verdana, Geneva, Tahoma, sans-serif;  
border-radius: 20px;

 ![Screen Shot 2021-03-05 at 10.46.17 PM](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/c/c842dd1bcb332173ce04ff84c3821fc2dbdda8b8.png)

> Blockquote

---

<div class="post-metadata">

**Author:** ![Zaan03](https://avatars.discourse-cdn.com/v4/letter/z/bbe5ce/32.png) [@Zaan03](https://forum.codewithmosh.com/u/Zaan03)\
**Post date:** [March 5, 2021, 7:02pm UTC](https://forum.codewithmosh.com/t/resizing-a-browser/3182/2 "2021-03-05T19:02:14Z")

</div>

CSS for svg  
#logopic {  
width: 300px;  
height: auto;  
float: right;  
margin-right: 35px;  
margin-top: 60px;  
}
