Examining the CSS

Generally, a very good practice in web development is to start your CSS design by resetting all the default styles used by various web browsers. The main issue, and the reason why this is an important step, is that most popular web browsers, or should I say every single one of them, have their own default set of CSS styles. And, if you want your theme to look exactly the same in every browser, you have to start your work by resetting these styles, whatever they might actually be. The good thing about this is that you don't have to do it by hand. You can just use one of the reset scripts available on the internet. Keep in mind that every piece of code that's listed in this chapter is also available in the official code bundle ...

Get WordPress Complete - Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.