When you first start out with CSS development, you might be a bit confused about the difference between margins and padding. Here’s a summary with some images to help visualize the difference.
This is the CSS Basics section of Impressive Webs. The articles in this section will cover basic topics for CSS beginners. To get updates of new posts in this section, you can subscribe via RSS or get an email notification whenever a new post is added. You can also subscribe to the main feed and email notifications using the links in the sidebar.
When you first start out with CSS development, you might be a bit confused about the difference between margins and padding. Here’s a summary with some images to help visualize the difference.
If you’ve dropped support for IE6 and/or IE7, then your repertoire of CSS hacks is probably pretty minimal. Here I outline the methods I feel are the best ways to write IE7- and IE8-specific CSS.
If you’re a beginner and you’re developing HTML and CSS using an external stylesheet, you might notice that in some browsers, under some circumstances, the changes you’ve made to your CSS don’t take effect immediately.
In an HTML page, you can add CSS in a number of different ways, which I explain below. After I show you each method, I’ll tell you which method is best, and why.