How to Solve Layout breaking in HTML and CSS

Subscribers:
15,500
Published on ● Video Link: https://www.youtube.com/watch?v=x0mXo9Ay9Qg



Category:
Tutorial
Duration: 2:18
111 views
10


In this video, I will show you the easiest way to solve the problem when your website layout breaks when you use padding and margin using HTML and CSS. Here is what you should do. First, go to the top of your styling sheet. Add this property * { box-sizing: border-box;} This property will solve the issue, and the layout should look normal again. This property is recommended before building any website. I hope you find this video helpful. This is one of the must-watch videos about HTML and CSS. Everyone must know this property before starting to build a website.
#html #css #tutorial







Tags:
How
to
solve
layout
breaking
css
html
tutorial
box-sizing
box
width
padding
margin
tips and tricks
css tricks
web
design
for
beginners
intro
div
divs
div1
website
break
solution
page
watch this before you build a website