i

Learn HTML and CSS in 10 Days

Creating Reusable Layouts

While setting up a website, it is recommended to write modular styles such that it can be reused everywhere. It’s a debatable thing to decide to use ‘float’ or ‘inline-block’ elements for that. Our methodology is to utilize an inline-block element to make the framework—or design—of a page and to utilize floats then when you need contents to wrap over a given element.