Cascading Style Sheets or CSS is one of the most used and practical coding the mark up languages. Most Web sites built on a platform HTML and therefore it is important to us that the CSS is correct so that the information the site wants to give its audience, is correct. However, designers often fundamental errors that things go very bad for a website can. The CSS-faq.com mentions some of the most common error in the CSS error occurred called CSS
You do not waste bytes by units such as px, pt, em, etc., if the value is zero. The only reason want to do this is if you change the value then quickly declare otherwise, the device makes no sense. Zero pixel is the same as zero points. To the exact color of choice, you need to write the hexadecimal code, rather than the color in English. Do not forget to add hash “#” before the code so that it can be parsed correctly. Otherwise, you must remember to avoid another failure to add hash.
Unless you are much more likely to change the code to avoid multiple lines if a single line can serve your purpose. For example, in defining the boundaries, some people set each side separately, and each line is the same. During condensation of the code is required. It’s normal style of the same item twice if it means avoiding the repetition in the above article. For example, say you have an item that only the left side is different. Instead of writing to each border with four lines, simply use two.
But sometimes, designers such as waste much space in their code, with a lot of unnecessary line breaks or spaces before and after the code. It makes you more style sheet, what it will cost you more in the long term, such as the use of your bandwidth is meant to be higher. Of course, it is advisable to leave the room so that it read, although to condense some people, like everything that leaves no room at all.
Designers must pay attention to some common errors so that they Web pages in a suitable manner and can design the message to the reader correctly.
Other post you might like;