写在CSS裸体节

原来昨天是一个节日——”CSS”裸体节,据说是为了促进web标准(简单、无格式),脱了CSS,你的网站变成什么样?

你看看First Annual Naked Day。嘿嘿,知道了吧:),然后国内好像也有很多站跟着一起裸奔了,我也想凉快凉快来着,可是不行,俺们不符合web标准,blog的衣服和肉肉是连在一起的,脱不掉!

可这也是今天最好玩的一件事情了, 想想我也曾一个猛子扎到了web标准的大河里,向着web标准的对岸游了好一阵子,当时的计划是把blog模板修改成XHTML+DIV/CSS结构的,最好XHTML里的标签全按语义来,在内容里不带一个样式属性(如style)、样式标签(如<Strong>),table靠边站,背景图片尽量少用,所有的样式布局全都整到CSS里面去,而且要做到IE和firefox显示基本一致,嘿嘿,脱掉CSS的衣服,就是上面那个老兄的样子。

 为什么要这么折腾?第一,跨浏览器显示效果统一,第二,以后好维护,改版只需要改改CSS就好了,第三我那偏执的追求专业的心在作祟,东西不瞎才好,可是后来真的做起来,发现那真是太痛苦了。

一篇《学习web标准有感》将web标准目前的缺陷总结得很好,我就不再累述,可能他也是有过切肤之痛吧,摘录两句——

  • table布局得到的同一性比div+css大得多。
  • 设计网页时不建议写纯语义化的XHTML后再布局美化,这样极度限制思维;建议从布局入手写XHTML,然后用CSS美化;不要被标准限制了思维。

1,624人评论了“写在CSS裸体节”

  1. I precisely wanted to appreciate you once again. I am not sure what I would have carried out without these pointers shared by you relating to that situation. It became a real depressing crisis in my position, nevertheless viewing a new professional way you solved it took me to leap with delight. Extremely thankful for your information and even hope that you find out what a great job you are always doing training many people using a blog. I’m certain you have never got to know all of us.

  2. I must get across my gratitude for your kindness for persons who must have help with this one study. Your real dedication to passing the message up and down turned out to be especially powerful and has truly made individuals like me to attain their pursuits. Your personal interesting tips and hints means a great deal a person like me and even further to my fellow workers. Many thanks; from each one of us.

  3. Thanks a lot for giving everyone a very spectacular chance to discover important secrets from here. It can be so kind and packed with fun for me and my office peers to visit the blog at the very least 3 times per week to study the new tips you will have. And indeed, I am also actually contented with your good opinions you give. Certain 4 areas in this article are basically the most efficient we have all ever had.

  4. My husband and i have been very relieved Emmanuel managed to deal with his preliminary research while using the ideas he discovered from your web page. It’s not at all simplistic to simply happen to be offering key points that many people have been making money from. We do know we now have the writer to appreciate for this. All of the explanations you have made, the easy web site menu, the relationships you will make it possible to engender – it’s many astounding, and it’s really making our son and our family understand that situation is amusing, and that’s unbelievably essential. Thank you for everything!

  5. Very good blog! Do you have any tips and hints for aspiring writers? I’m hoping to start my own blog soon but I’m a little lost on everything. Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many options out there that I’m completely overwhelmed .. Any ideas? Thanks!|

  6. Thanks so much for giving everyone an extraordinarily wonderful opportunity to check tips from this web site. It really is very beneficial and as well , stuffed with fun for me personally and my office co-workers to search your blog at least thrice in 7 days to learn the latest guides you will have. And lastly, we are always amazed for the exceptional information you give. Certain 2 tips in this posting are surely the very best I’ve ever had.

  7. I’m just writing to let you be aware of of the awesome encounter our child developed reading your web page. She discovered plenty of things, not to mention what it’s like to have an amazing coaching mindset to get many people clearly master a variety of complex matters. You truly exceeded our own desires. Thanks for churning out those informative, safe, edifying and even fun thoughts on your topic to Jane.

  8. My spouse and i were very joyous when Emmanuel could do his inquiry with the ideas he came across in your site. It is now and again perplexing just to always be offering guidelines which often many others may have been making money from. Therefore we understand we have got the blog owner to appreciate for this. The type of explanations you’ve made, the easy blog navigation, the relationships your site give support to instill – it is most sensational, and it’s really leading our son in addition to us reason why this theme is enjoyable, and that’s really essential. Many thanks for all the pieces!

  9. I simply had to appreciate you once more. I do not know the things I could possibly have carried out without the actual secrets revealed by you regarding my theme. This was the challenging case for me personally, however , viewing your specialised fashion you dealt with the issue forced me to jump for delight. I am grateful for your support and then wish you realize what a powerful job you are putting in teaching the rest all through your blog post. I know that you haven’t got to know any of us.

  10. My husband and i have been absolutely lucky that Chris managed to complete his survey through the ideas he acquired from your own web pages. It is now and again perplexing to just be giving away information and facts which a number of people could have been selling. We discover we have the website owner to thank because of that. Most of the illustrations you’ve made, the simple site navigation, the relationships you will make it easier to foster – it is most great, and it’s really assisting our son and us do think the article is exciting, which is certainly very vital. Many thanks for everything!

  11. My spouse and i felt quite delighted John could finish off his homework from your precious recommendations he acquired from your web page. It’s not at all simplistic to simply possibly be giving away techniques which usually a number of people could have been selling. And we also realize we now have the blog owner to give thanks to because of that. The illustrations you’ve made, the straightforward web site menu, the friendships you will make it possible to create – it’s many spectacular, and it’s making our son in addition to our family reckon that the subject matter is amusing, which is certainly extraordinarily fundamental. Many thanks for the whole lot!

  12. I don’t even know the way I finished up right here, but I assumed this post was once great. I do not recognise who you might be however certainly you are going to a well-known blogger if you aren’t already. Cheers!|

  13. I want to express some thanks to the writer for rescuing me from this type of trouble. After surfing through the world-wide-web and meeting thoughts which were not powerful, I was thinking my life was gone. Existing without the presence of approaches to the difficulties you’ve resolved by means of your write-up is a serious case, as well as the kind that would have adversely affected my career if I had not noticed the blog. Your own competence and kindness in playing with all the things was valuable. I am not sure what I would’ve done if I had not come across such a thing like this. It’s possible to at this time relish my future. Thanks for your time very much for your impressive and amazing help. I won’t think twice to suggest your web site to anybody who requires recommendations on this issue.

  14. I actually wanted to make a brief remark to be able to appreciate you for all the magnificent pointers you are giving out at this site. My considerable internet investigation has at the end of the day been recognized with professional concept to share with my partners. I ‘d suppose that many of us visitors are unequivocally lucky to dwell in a very good network with so many awesome people with interesting pointers. I feel really lucky to have discovered your entire webpage and look forward to many more fun minutes reading here. Thanks again for everything.

  15. It is perfect time to make some plans for the future and it’s time to be happy. I’ve read this post and if I could I desire to suggest you some interesting things or tips. Perhaps you can write next articles referring to this article. I wish to read more things about it!|

  16. My wife and i have been ecstatic Peter could carry out his research from your precious recommendations he received out of the web site. It is now and again perplexing to just find yourself giving freely tips which some others have been making money from. And we also understand we need the website owner to appreciate for that. Those explanations you’ve made, the straightforward website navigation, the friendships you will aid to create – it’s got many impressive, and it’s making our son and our family believe that this situation is enjoyable, and that is exceptionally fundamental. Thank you for all!

  17. I really wanted to construct a brief word to appreciate you for these remarkable recommendations you are posting at this site. My time intensive internet investigation has at the end of the day been rewarded with beneficial content to share with my great friends. I would point out that many of us site visitors are very much fortunate to live in a wonderful network with so many brilliant individuals with insightful hints. I feel really fortunate to have come across the web page and look forward to many more fabulous minutes reading here. Thanks a lot once again for everything.

  18. Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you can do with a few pics to drive the message home a bit, but other than that, this is magnificent blog. An excellent read. I’ll certainly be back.|

  19. A lot of thanks for your own work on this web site. My aunt delights in getting into research and it is simple to grasp why. Most of us notice all about the dynamic means you convey valuable tactics through your website and in addition attract contribution from people about this point then our child is without question discovering a great deal. Take advantage of the remaining portion of the year. You’re performing a stunning job.

  20. I must express appreciation to the writer for bailing me out of this situation. After browsing throughout the the net and seeing recommendations that were not beneficial, I figured my entire life was over. Being alive minus the solutions to the problems you have sorted out through your article is a serious case, and the ones which could have in a negative way damaged my entire career if I hadn’t noticed the website. That ability and kindness in playing with every aspect was helpful. I don’t know what I would have done if I hadn’t encountered such a thing like this. I’m able to at this time relish my future. Thanks for your time so much for this skilled and effective guide. I won’t think twice to endorse your web site to anyone who will need guidelines on this subject matter.

  21. I just like the helpful info you supply for your articles. I’ll bookmark your blog and test once more right here frequently. I am slightly sure I will be informed many new stuff right right here! Good luck for the following!|

  22. I would like to voice my love for your generosity supporting women who require help on the issue. Your very own commitment to passing the message throughout had been particularly informative and has usually encouraged folks like me to arrive at their desired goals. Your own warm and helpful recommendations entails so much a person like me and further more to my colleagues. Warm regards; from each one of us.

  23. I wanted to jot down a brief comment in order to thank you for the nice guidelines you are giving on this website. My considerable internet investigation has now been recognized with beneficial know-how to write about with my colleagues. I ‘d assert that most of us visitors are very endowed to live in a fine community with very many outstanding individuals with very helpful secrets. I feel pretty blessed to have used the site and look forward to some more awesome moments reading here. Thank you once again for everything.

  24. My spouse and i got really happy Michael could carry out his analysis while using the ideas he obtained through your web site. It’s not at all simplistic to just find yourself giving freely tips and tricks that many the others might have been making money from. So we consider we have got the website owner to give thanks to because of that. All of the explanations you made, the straightforward site menu, the friendships you can help to instill – it’s most astonishing, and it is facilitating our son and our family consider that that situation is amusing, which is certainly incredibly fundamental. Thanks for all the pieces!

  25. I want to show some thanks to this writer just for rescuing me from this particular matter. As a result of looking through the search engines and seeing things which were not beneficial, I assumed my entire life was over. Existing without the presence of solutions to the problems you have solved all through your report is a critical case, and the kind that would have adversely affected my entire career if I hadn’t encountered your site. Your own training and kindness in controlling all the stuff was important. I’m not sure what I would’ve done if I hadn’t discovered such a stuff like this. I’m able to at this point relish my future. Thank you so much for the reliable and amazing help. I won’t think twice to suggest your blog post to any person who should receive guidelines about this situation.

  26. Thank you so much for providing individuals with an exceptionally brilliant opportunity to check tips from this web site. It is usually very lovely and jam-packed with a lot of fun for me and my office acquaintances to visit your web site a minimum of thrice every week to see the new secrets you have got. And indeed, I’m also usually fulfilled for the fabulous tactics you give. Certain 2 tips in this post are without a doubt the most effective we’ve had.

  27. I really wanted to develop a brief note to be able to appreciate you for these marvelous items you are writing on this website. My considerable internet lookup has finally been paid with good insight to go over with my close friends. I ‘d admit that we visitors actually are quite blessed to be in a good website with very many brilliant people with very beneficial concepts. I feel somewhat lucky to have encountered the webpages and look forward to plenty of more fabulous minutes reading here. Thanks a lot again for everything.

  28. I want to show my appreciation to this writer just for rescuing me from this particular predicament. As a result of surfing through the the net and meeting strategies that were not productive, I thought my life was gone. Living minus the answers to the problems you have solved as a result of your posting is a crucial case, and the kind which could have badly affected my entire career if I hadn’t noticed the blog. Your actual training and kindness in dealing with every item was priceless. I’m not sure what I would’ve done if I had not come upon such a stuff like this. I’m able to now look forward to my future. Thanks for your time so much for the reliable and effective guide. I won’t hesitate to endorse your blog post to anyone who needs and wants counselling on this problem.

  29. I simply had to thank you very much once more. I’m not certain the things I might have accomplished in the absence of the type of tips and hints discussed by you concerning my subject. It was before a very difficult scenario in my position, nevertheless noticing the professional strategy you managed it forced me to leap for delight. Now i am thankful for your advice and as well , sincerely hope you find out what an amazing job you happen to be doing instructing other individuals through your website. I’m certain you have never got to know any of us.

  30. I would like to convey my admiration for your generosity supporting those people that really want guidance on this one niche. Your personal commitment to getting the solution throughout appeared to be exceedingly powerful and has without exception permitted some individuals just like me to arrive at their goals. This warm and friendly facts indicates a lot a person like me and a whole lot more to my peers. Thanks a lot; from all of us.

  31. I have to convey my love for your generosity in support of folks who must have help on your matter. Your real dedication to passing the message throughout has been unbelievably informative and have truly made ladies much like me to arrive at their targets. Your personal warm and friendly help and advice implies a whole lot a person like me and somewhat more to my office colleagues. Thank you; from everyone of us.

  32. I wish to express thanks to the writer for bailing me out of this type of instance. After looking throughout the search engines and getting things which are not pleasant, I believed my life was over. Existing without the solutions to the problems you’ve resolved all through the article content is a critical case, and ones that might have in a negative way damaged my career if I hadn’t come across the website. Your good understanding and kindness in handling the whole lot was vital. I’m not sure what I would’ve done if I hadn’t come upon such a subject like this. I can now look forward to my future. Thank you so much for your reliable and results-oriented help. I won’t think twice to endorse the website to anyone who desires assistance about this topic.

  33. I enjoy you because of your whole labor on this blog. My mum takes pleasure in participating in investigations and it’s obvious why. A lot of people hear all concerning the lively mode you render practical suggestions through the blog and as well foster response from some others on the content plus our favorite daughter is always being taught so much. Take advantage of the rest of the new year. You have been doing a very good job.

  34. Thank you a lot for giving everyone such a spectacular opportunity to read from this website. It can be very beneficial and also full of a good time for me and my office co-workers to visit your site a minimum of 3 times weekly to read the latest items you have. And of course, I am also actually contented with the striking tips and hints you serve. Some 4 facts on this page are definitely the simplest we have all had.

  35. My husband and i were really thrilled that Chris managed to complete his investigations through the entire precious recommendations he acquired while using the weblog. It’s not at all simplistic to just happen to be offering ideas which often men and women could have been trying to sell. We really do know we now have the website owner to thank for this. The type of illustrations you’ve made, the simple website navigation, the relationships you aid to create – it’s got mostly superb, and it’s really aiding our son in addition to us reckon that the subject is satisfying, which is extraordinarily essential. Thanks for everything!

  36. A lot of thanks for your entire labor on this blog. My niece really likes working on investigation and it’s obvious why. Most of us learn all relating to the lively form you produce valuable tactics through the blog and as well attract response from other ones on the area of interest and our daughter is studying a lot. Take advantage of the rest of the new year. You’re the one performing a stunning job.

  37. I am only writing to let you know of the fabulous encounter my wife’s child gained viewing your site. She came to understand a wide variety of pieces, which included what it is like to have a very effective coaching mindset to have certain people effortlessly learn some multifaceted subject matter. You really did more than her expected results. Thank you for coming up with those effective, safe, edifying and as well as cool thoughts on your topic to Sandra.

  38. I am just commenting to make you understand of the awesome discovery our child undergone browsing your webblog. She picked up several details, which include what it’s like to have an ideal giving style to get most people without hassle thoroughly grasp several multifaceted subject areas. You actually did more than my expected results. I appreciate you for presenting such priceless, trustworthy, educational and even cool thoughts on that topic to Evelyn.

  39. I simply desired to say thanks once again. I do not know what I might have accomplished without the actual hints revealed by you directly on this area of interest. This was a real challenging problem in my position, nevertheless spending time with this well-written technique you managed that made me to jump with gladness. I’m just happy for the guidance and even hope that you really know what a powerful job you are putting in training most people via a site. I am sure you haven’t got to know any of us.

  40. I would like to express some thanks to you just for bailing me out of this issue. As a result of searching throughout the search engines and finding methods which were not pleasant, I believed my life was over. Existing devoid of the answers to the issues you’ve solved as a result of your good write-up is a crucial case, as well as ones which could have in a wrong way affected my career if I had not noticed your web blog. Your actual mastery and kindness in taking care of a lot of stuff was crucial. I’m not sure what I would have done if I had not discovered such a step like this. I am able to at this time look ahead to my future. Thank you so much for this reliable and amazing help. I will not hesitate to refer the blog to any individual who needs and wants assistance on this situation.

  41. I happen to be commenting to make you know of the perfect experience our girl obtained studying your web site. She discovered numerous things, including what it is like to possess an amazing coaching heart to let a number of people quite simply know precisely specified tortuous topics. You actually surpassed our own expected results. Thank you for distributing those good, dependable, explanatory as well as unique guidance on your topic to Gloria.

  42. My husband and i felt fulfilled when Ervin could deal with his investigations from the ideas he discovered from your web page. It is now and again perplexing just to find yourself making a gift of tips and tricks that many some people may have been selling. So we do know we have the writer to thank for this. Those explanations you have made, the straightforward website navigation, the friendships you can make it possible to instill – it’s most powerful, and it’s leading our son and our family reckon that this situation is entertaining, which is incredibly important. Thank you for everything!

  43. My spouse and i ended up being absolutely cheerful that Raymond could round up his analysis using the ideas he grabbed out of the web site. It is now and again perplexing to simply choose to be giving out information which other people have been making money from. We really do understand we have got you to give thanks to for this. The most important explanations you made, the straightforward web site navigation, the friendships you can make it easier to create – it is all fantastic, and it’s facilitating our son in addition to us know that that concept is thrilling, which is certainly quite vital. Many thanks for all!

发表评论

邮箱地址不会被公开。 必填项已用*标注