css| Skills | Web page
learning Anything is the same, from primary school, middle School, university, in addition to learning knowledge is to learn methods!
To master the CSS, first of all to learn HTML, I just started from zero began to learn, spent one months to learn HTML, no teacher, the book is my only teacher, there is no internet conditions! After one months, I began to learn CSS, just started to see the first CSS book is "CSS page style design" after a few days to find out how to read! , then changed an "HTML Reference encyclopedia", this book is a Web maker's desk standing book! The reason to change this book to learn CSS is because there is a part of it is CSS, it became my CSS Enlightenment book. After reading a few paragraphs, feel that foreigners write the tutorial is very organized, from the deep, step-by-Step to guide you to go, so that you understand what they are saying, rather than as the domestic book to speak of different depths, lack of organized, as if afraid you do not know he is very learned! Like the previous book, "CSS page style design" at that time, for beginners css I, really do not know what it said!
To talk about the details of the learning process, because a style it is impossible to break out of the HTML page, HTML does not combine with the style, CSS lost the meaning of existence. So the general book will give an example, and then let you on the machine test effect, this is the author wants you to have a style sheet CSS has a preliminary impression, tell you what CSS can do. A small example: "Though small, spite", you may not be able to read the true meaning of each statement. But you can remember the example of the pattern, the practice of continuous use, and constantly use the process is to remember the process, so can not restore the heart, can not always think of their own memory is not good, but whether you ride is a cow or a winged steed, as long as perseverance, will certainly reach the end.
Reading a book, in general, the first time to read through the entire book, do not understand also to look down, in the process of looking down you may find the answer to the question. After reading you have a general impression, but there must be a lot of do not understand the place, it does not matter, continue to look down.
The second time you're going to look around and do your study notes, and write down the parts that you think are important. Also, you feel the part of the doubt to write down, with questions to see, if there is no answer, you can go to BBS to send a post, kind-hearted people or a lot of, hint a: "must learn how to ask questions!" "I won't say it here." You also have to go to the computer to practice the example in the book, the most confusing: "One can not remember, the other is the concept of the wrong understanding (this may be a bad translation of the book, the other is your understanding of the wrong)", for the first one you have to build confidence, adhere to go on. When you get to the finish line, you find that everything is logical. Because you work hard, there will be rewards and results.
A lot of people also read, but there is no progress, I analyze the main reasons for the following:
Reason one: The pressure is not enough, because a lot of people like art to learn CSS, because it is to see others learn, so learn, do not learn no advantage! This kind of pressure is very small, not learn and art this bowl of rice.
Reason two: Just amateur study, this study is just a play, because you do not have to use this technology to eat.
Reason three: The method is wrong, some people just look at the tutorial, but he does not do, I used to see too much, do too little, so have the practice you can put the theory of things to rub in.
Four learning stages of mastering CSS
Once I ask a netizen, learn css difficult? She said: "Not difficult" I said how long have you been studying? She said, "just learn." In fact, she is right! If someone asked me to learn CSS difficult? I would say: "Hard!" "Why would I say it hard?"
Learning CSS can be divided into the following stages:
Phase one: Do not think about the compatibility of the browser situation can make a page, but the page everywhere with a table of the pattern Div write the page.
Phase two: Think of compatibility issues, but not early prevention, will only fix problems, the use of hack technology (I only know the hack technology, but with very little)
Phase three: You can prevent bugs in advance, but the style sheet is heavily used id,class,css translation is overlapping style sheets, such as "DIV P SPAN." This code is to indicate the child element span of P in the div child element, so that you can define the span style without adding class to the span. This is the advantage of CSS, why not make good use of and must define a class it!
Phase four: This phase is the hardest, good HTML semantic structure, reasonable CSS, reusable style. Good semantics has this article, the reasonable CSS, these two aspects will certainly write the topic to study.