Width and padding
I am making a calculator, and when I was working in my offline HTML editor, I had the width set to 85% to make up for the 5% padding I added. Here in the SoloLearn editor its as if the padding doesn't affect the width, and I have to set it to 90% for it to show up correctly. Athough, when I look at my code inside of the mobile app, it shows up exactly as it should. Can anyone explain why this is? Thank you! P.S. I am new to all of this. #screen{ position: relative; -> width: 90%; height: 35px; margin: 5%; border-radius: 10px; border: none; box-shadow: inset 0px 3px #818181; background-color: #6F9CA2; text-align: right; font-weight: 600; font-size: 18px; color: white; letter-spacing: 3px; -> padding-right: 5%; } Screenshots: Mobile brower: https://goo.gl/photos/TKBC1pBnk3Td7FGB8 SoloLearn app: https://goo.gl/photos/jJsn5YgXHJAZESA7A