After receiving a task, we revised the appearance and layout of an existing. Net website. I have never done this kind of work before. I have no choice but to come here.
. Net. Therefore, I first read a book [Beginning HTML with CSS and XHTML modern guide and reference]. After reading this book, I learned about the main HTML tags and their respective uses. Then I learned the most basic CSS usage through this book [Beginning. CSS. Web. Development. From. novice. to. Professional]. Then I searched the internet and bought a classic website for reconstruction. This book is generally okay and can give readers a high-level grasp. However, as I said on the Internet, most of the above mentioned in this book is too much. Finally, I downloaded [CSS zen garden] and [CSS mastery] to learn more.
The core of CSS is its "box model". After understanding this and adding the layout method, everything can be done. Google Chrome is widely used in the development process. When talking with other colleagues, they said that the most tested browser is Google Chrome, and I am not. I tested it first. It started quickly and has a very useful "development tool" (right-click on the page and choose "review element, I think this development tool is super powerful [of course Firefox users can use its development tool web developer. There are also corresponding tools in IE, but it is not easy to use]. After chrome is completed, IE7, 8, and Firefox are normal. It is easy to see that some CSS default values are different, so it is best to specify that, if not specified, different browsers will have different effects. The most nonsense is IE6. Fortunately, there are a lot of discussions on IE6 bugs on the Internet. It is generally possible to perform a search. When Will IE6 die? Depressed.
Another experience is that to write perfect and refined CSS, good HTML code is necessary. If the HTML code generated by a webpage is messy, I will have a headache. When I see bad code, I will always change the background to generate refined and semantic HTML.