How can you tell the difference between margin and padding and when one should use them.
If we are not satisfied with the way a browser treats HTML elements by default we can change it.
We are going to talk about compactness (neatness) and correctness of CSS code.
Probably, you have already heard about the property hasLayout in IE and maybe you even know what it is and how it affects display of elements. No? Then let's have a closer look at this mysterious property.
If you are only beginning to work with HTML5 and you strive for new knowledge - the following tutorial is what you need. Here, in a simple way we'll try our best to explain how to create your own HTML5 MP3 player.
At first glance, the use of classes and ids is almost identical: both can assign CSS properties with needed values to change the appearance of HTML document. But, under what circumstances can we make better use of classes, and under what ids?
There were always problems with rounded corners when working with boxes.
Most of the prominent browsers (Opera, Mozilla Firefox and Safari) don't have a method of targeting CSS for a particular browser.