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.
In CSS, templates of selectors are used to select element(s) which you want to style.
Vendor prefixes are prefixes added to CSS properties that are used by browser vendors for non-standard properties.