We are constantly learning and pursuing progress and improvement. To what extent have we learned? Do we really understand CSS? What level are we at? Let's compare.
Level 0: CSS? Isn't that a multiplayer shooter?
CSS? Isn't that a multiplayer game?
Some people came to the #CSS website because they were looking for information about the game CS:S (Counter Strike: Source). Don't worry about these people, they can't create too many web pages, so they won't cause much harm to the network.
Level 1: Yeah, I use it to remove underlines on links sometimes And Level 0 People are different. These people have learned HTML and have made several simple websites. They only use CSS when they can't create certain effects using HTML, such as removing the bottom line of a link or setting a line height. These people's websites are usually small and don't have many visitors, so they don't do much harm to the network.
Level 2: No, I don’t like div elements; tables are much easier to use!
No, I don't like divs; tables are much easier to work with They have heard about using div elements to design web pages and have spent some time learning CSS. However, they quickly gave up, feeling that CSS was too difficult and poorly supported, and would rather use tables for layout.
Attention! They are dangerous people! They have been in this field for a while and many are heads of website departments. It is very important to get in touch with them. People who advocate network standards should educate them. This is of great significance to the network.
Level 3: Yes, I heard it's good, but I didn't use it because...
Yes I've heard it's good, but I can't use it because of… Although these people know the advantages of CSS, they are always unable to use it for some reason. For example, they may have a 2nd level boss, or they must consider Netscape 4 users.
Although older browsers do not support CSS, users can still see the complete content. Based on the benefits of accessibility and usability, CSS can bring more visitors to the website. Telling these advantages to Level 3 developers, even if they are not the decision-makers, may be able to exert some influence on Level 2 bosses.
Level 4: CSS? oh! Yes, I use div elements for layout
CSS? Oh! Yes, I use divs for all my layouts Using too many div elements in the page is a problem for this group of people, they will Use #toprightredline or #r5_c7 (meaning column 5, column 7) to set the id of the div element. Even if it can pass XHTML 1.1 verification, this typesetting method cannot take advantage of CSS. Screen readers (browsers used by the visually impaired) have difficulty interpreting these web pages, and older browsers also have the same problem, preventing the entire content of the web page from being displayed. The bad naming methods of class and id also cause great inconvenience to the modification of the layout.
Although Level 4 people still produce terrible websites, they do less damage to the network because they are more receptive to new ideas. Many WYSIWYG editors produce source code full of div elements, which may be the reason why this group of people is misled. Fortunately, these editors are gradually improving, and hopefully this will help those at level 4 continue to move up.
Level 5: I use CSS for design, it's better than tables because of…
People at Level 5 know the advantages of CSS and are happy to use it. Although they sometimes encounter some problems, they are not serious. They can also use their long experience working with CSS to argue why the structure and design of a web page should be separated. I'm guessing that most of the readers of this article are CSS developers at this level, and I think I am one too. But this is not the best...
Level 6: Which version of CSS? Yes, I know. Did you read my book about…
What version of CSS? Yes, I do. Did you read my book about…
Level 6 people work on improving CSS and write many great articles introducing new uses for it. Some of them have read all the W3C documentation on CSS and know which features are supported by which browser version. They are role models for CSS beginners and use their influence to make the web more progressive. Many of them have formed the Web Standards Project, and if you find any errors on their sites, there must be a reason, and you will be able to get a satisfactory answer after asking them for help.