写在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. Hi there! This is my first comment here so I just wanted to give a quick shout out and say I truly enjoy reading through your posts. Can you recommend any other blogs/websites/forums that go over the same subjects? Thank you!|

  2. My husband and i have been absolutely joyous that Edward could carry out his web research through the ideas he gained from your web pages. It is now and again perplexing to just be giving for free solutions which people could have been selling. And now we remember we’ve got you to give thanks to for that. The explanations you made, the simple blog menu, the relationships your site assist to instill – it’s got everything awesome, and it is leading our son and us recognize that this subject is enjoyable, and that is quite important. Many thanks for the whole thing!

  3. My husband and i got absolutely delighted when Louis managed to finish off his homework via the precious recommendations he grabbed while using the weblog. It’s not at all simplistic to simply always be giving for free helpful hints that men and women may have been trying to sell. We really recognize we need you to thank for this. Those explanations you’ve made, the straightforward site menu, the friendships your site assist to instill – it’s got most fabulous, and it’s really assisting our son in addition to the family do think this issue is fun, which is incredibly indispensable. Thank you for all!

  4. Aw, this was an extremely good post. Spending some time and actual effort to produce a great article… but what can I say… I hesitate a lot and never manage to get nearly anything done.|

  5. Hi there just wanted to give you a quick heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different web browsers and both show the same outcome.|

  6. I got this site from my pal who told me concerning this web page and at the moment this time I am visiting this site and reading very informative content at this time.|

  7. My husband and i were very relieved Louis managed to do his survey through the ideas he had while using the weblog. It is now and again perplexing to simply happen to be freely giving thoughts which other people may have been making money from. And we all keep in mind we have the blog owner to be grateful to for that. Most of the illustrations you made, the straightforward web site menu, the relationships you can make it easier to foster – it’s got everything remarkable, and it’s helping our son in addition to us recognize that that concept is enjoyable, which is particularly fundamental. Thank you for the whole thing!

  8. I am only commenting to let you understand what a beneficial encounter my wife’s child undergone checking your webblog. She picked up such a lot of issues, most notably what it’s like to possess a very effective helping style to let folks completely know just exactly specific very confusing issues. You truly surpassed our expectations. Thank you for providing such essential, dependable, informative and in addition easy tips about this topic to Sandra.

  9. Dzięki za porad dotyczących naprawy kredytu na temat tego wspaniałego witryny. Kilka wskazówek i chciałbym powiedzieć ludziom powinno być to zrezygnować z tej mentalności że mogą obecnie i rozwidź później. Being a as be a} społeczeństwo {my|my wszyscy|my wszyscy|wielu z nas|większość z nas|większość ludzi} ma tendencję do {robienia tego|robienia tamtego|próbowania tego|zdarzyć się|powtórz to} dla wielu {rzeczy|problemów|czynników}. Obejmuje to {wakacje|wakacje|wypady|wyjazdy wakacyjne|wycieczki|rodzinne wakacje}, meble, {i|jak również|a także|wraz z|oprócz|plus} przedmiotów {chcemy|chcielibyśmy|życzymy|chcielibyśmy|naprawdę chcielibyśmy to mieć}. Jednak {musisz|musisz|powinieneś|powinieneś chcieć|wskazane jest, aby|musisz} oddzielić {swoje|swoje|to|twoje obecne|swoje|osoby} chcą {od wszystkich|z potrzeb|z}. {Kiedy jesteś|Kiedy jesteś|Kiedy jesteś|Jeśli jesteś|Tak długo, jak jesteś|Kiedy} pracujesz, aby {poprawić swój kredyt|poprawić swoją zdolność kredytową|zwiększyć swój kredyt|zwiększyć swój kredyt|podnieś swój ranking kredytowy|popraw swój kredyt} wynik {musisz zrobić|zrobić|faktycznie potrzebujesz|naprawdę musisz} dokonać kilku {poświęceń|kompromisów}. Na przykład {możesz|możesz|możesz|możesz|będziesz mógł|| możesz|prawdopodobnie możesz} robić zakupy online {aby zaoszczędzić pieniądze|aby zaoszczędzić pieniądze|aby zaoszczędzić} lub {możesz przejść do|może się zwrócić|może odwiedzić|może obejrzeć|może sprawdzić|może kliknąć} używane {sklepy|sklepy|detaliści|sprzedawcy|punkty sprzedaży|dostawcy} zamiast {drogie|drogie|drogie|drogie|drogie|drogich} domów towarowych {dla|w odniesieniu do|dotyczących|odnoszących się do|przeznaczonych dla|do zdobycia} odzieży {termometr bezdotykowy|termometry bezdotykowe|termometry bezdotykowe ranking|termometr do czoła|termometry do czoła|termometr bezkontaktowy|termometry bezkontaktowe|termometr koronawirus|termometr|termometr na podczerwień|termometry na podczerwień|termometr lekarski|termometry lekarskie|szybki termometr medyczny|szybkie termometry medyczne}.

  10. Hello There. I discovered your blog the usage of msn. This is an extremely neatly written article. I’ll make sure to bookmark it and return to learn more of your useful information. Thank you for the post. I’ll certainly comeback.|

  11. I enjoy you because of your whole efforts on this blog. Kate really likes carrying out research and it’s really obvious why. A lot of people hear all about the dynamic manner you deliver simple tactics through your blog and therefore inspire contribution from other people on this theme then my child is without question being taught so much. Take pleasure in the rest of the year. You have been conducting a dazzling job.

  12. I would like to convey my gratitude for your kind-heartedness giving support to folks that really need guidance on this one topic. Your special commitment to getting the solution all around has been incredibly effective and has really empowered those just like me to realize their ambitions. The informative publication means a whole lot to me and a whole lot more to my mates. Thanks a ton; from each one of us.

  13. Hello, Neat post. There’s a problem with your site in web explorer, would test this? IE still is the marketplace leader and a huge portion of other people will miss your great writing due to this problem.|

  14. I intended to post you a very small remark to finally thank you very much once again for your extraordinary solutions you’ve provided at this time. It was so seriously open-handed with you to supply freely precisely what a number of people could have marketed for an e-book to make some bucks for themselves, even more so now that you could have done it in the event you wanted. Those secrets as well worked to become a fantastic way to realize that other people online have the same passion really like my very own to see somewhat more when it comes to this issue. Certainly there are numerous more pleasurable moments in the future for individuals who start reading your blog post.

  15. Thanks so much for giving everyone an extraordinarily brilliant possiblity to discover important secrets from this website. It is often very useful and as well , full of amusement for me personally and my office acquaintances to search your website at the very least 3 times in one week to read the fresh guides you will have. Not to mention, I’m also certainly impressed with all the excellent tips and hints you give. Certain two tips in this article are absolutely the best I’ve ever had.

  16. My spouse and i got so comfortable Chris could round up his survey via the ideas he acquired out of your site. It is now and again perplexing to just find yourself giving freely tips and tricks which usually the rest may have been making money from. So we consider we have the blog owner to give thanks to for this. Those explanations you made, the easy site navigation, the friendships you can make it possible to create – it is many astonishing, and it is letting our son and us reason why this concept is exciting, which is seriously important. Thank you for all the pieces!

  17. Thank you a lot for giving everyone an exceptionally wonderful opportunity to read from this website. It’s always so excellent plus stuffed with amusement for me personally and my office co-workers to search your website more than 3 times per week to read through the newest secrets you will have. And definitely, I’m also always motivated for the superb inspiring ideas you serve. Some 1 areas in this post are surely the most impressive we have had.

  18. I simply wanted to make a small remark so as to say thanks to you for those unique tips and tricks you are writing at this site. My time-consuming internet search has finally been rewarded with extremely good facts and techniques to share with my friends and family. I would state that that we readers are extremely blessed to exist in a notable site with many lovely professionals with insightful pointers. I feel somewhat fortunate to have encountered your entire website page and look forward to many more pleasurable times reading here. Thanks a lot once more for a lot of things.

  19. Hmm it seems like your blog ate my first comment (it was extremely long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog. I as well am an aspiring blog writer but I’m still new to everything. Do you have any points for novice blog writers? I’d certainly appreciate it.|

  20. I’m also commenting to let you be aware of what a cool discovery my friend’s daughter went through checking your webblog. She noticed many pieces, with the inclusion of how it is like to possess a very effective helping heart to let other folks very easily have an understanding of specific grueling subject matter. You undoubtedly surpassed readers’ expectations. Thank you for displaying these precious, trustworthy, informative and even fun tips about that topic to Gloria.

  21. I must voice my gratitude for your kindness supporting men who require guidance on in this area. Your very own commitment to getting the message around ended up being unbelievably interesting and has always empowered individuals just like me to arrive at their dreams. This valuable facts implies so much a person like me and still more to my office workers. Best wishes; from everyone of us.

  22. Thank you so much for providing individuals with an extremely terrific opportunity to read critical reviews from this blog. It is often so ideal and as well , jam-packed with a good time for me personally and my office mates to visit your website minimum 3 times per week to find out the latest issues you have got. And definitely, I am just always amazed with the exceptional knowledge you serve. Selected 4 ideas on this page are surely the best I’ve ever had.

  23. I want to point out my respect for your kindness in support of persons who need help on this one issue. Your special commitment to passing the message all around was extraordinarily practical and has surely helped associates much like me to realize their objectives. The warm and helpful tips and hints means a whole lot a person like me and additionally to my mates. Best wishes; from all of us.

  24. Thank you a lot for sharing this with all folks you actually recognize what you’re speaking approximately! Bookmarked. Please additionally discuss with my website =). We could have a link trade arrangement between us|

  25. I enjoy you because of your own effort on this web page. My niece really likes participating in research and it is easy to understand why. A lot of people hear all about the lively way you make very useful ideas via your website and in addition welcome response from visitors on that theme plus our girl is without a doubt understanding a lot of things. Have fun with the rest of the new year. You are doing a terrific job.

  26. I truly wanted to post a small remark to be able to say thanks to you for the superb strategies you are posting on this website. My particularly long internet lookup has finally been recognized with wonderful content to go over with my neighbours. I would suppose that most of us site visitors are unquestionably lucky to dwell in a great community with very many brilliant professionals with helpful basics. I feel very fortunate to have encountered your site and look forward to some more enjoyable minutes reading here. Thanks once more for everything.

  27. I wanted to type a brief remark in order to say thanks to you for all the awesome facts you are posting at this website. My extensive internet research has now been paid with extremely good facts and techniques to go over with my neighbours. I would assert that most of us site visitors are quite blessed to exist in a good place with many outstanding individuals with useful suggestions. I feel extremely fortunate to have used your entire webpages and look forward to some more pleasurable moments reading here. Thanks once more for all the details.

  28. I enjoy you because of your whole labor on this web page. Kate take interest in engaging in investigation and it’s really obvious why. We all notice all of the dynamic medium you render both useful and interesting items via this website and even welcome contribution from visitors on the article so our own princess is actually being taught a great deal. Have fun with the remaining portion of the new year. You’re carrying out a pretty cool job.

  29. I and my friends have been reviewing the excellent tips and tricks from the blog while all of the sudden developed a horrible feeling I never thanked the web blog owner for those techniques. Most of the men were definitely so thrilled to learn them and have in effect actually been using those things. We appreciate you truly being simply thoughtful as well as for using variety of outstanding useful guides millions of individuals are really needing to learn about. Our own sincere apologies for not expressing appreciation to you sooner.

  30. I and also my pals ended up examining the great pointers located on your web blog and instantly developed a terrible feeling I never expressed respect to the blog owner for those tips. My young boys were definitely certainly excited to learn them and have in actuality been tapping into these things. Thank you for truly being quite kind as well as for pick out such perfect things most people are really eager to be aware of. Our sincere apologies for not expressing gratitude to sooner.

  31. It’s truly a nice and helpful piece of information. I’m glad that you shared this useful information with us. Please stay us up to date like this. Thank you for sharing.|

  32. I simply wished to appreciate you again. I do not know the things I would have carried out in the absence of those information discussed by you over this topic. Completely was a horrifying condition for me, but witnessing the specialised tactic you treated the issue made me to leap for joy. I am happy for this assistance and thus hope that you comprehend what a great job you were putting in teaching others with the aid of your webblog. I am certain you haven’t met all of us.

  33. I would like to express my appreciation to the writer for rescuing me from this particular circumstance. Because of looking throughout the world-wide-web and finding strategies that were not beneficial, I was thinking my entire life was well over. Existing without the answers to the issues you have resolved through your good blog post is a crucial case, and those that might have in a negative way affected my career if I had not encountered your blog. Your main capability and kindness in handling the whole thing was priceless. I am not sure what I would’ve done if I hadn’t come upon such a point like this. It’s possible to at this moment look ahead to my future. Thank you very much for the impressive and result oriented help. I will not be reluctant to refer your web blog to any person who needs direction about this topic.

  34. Excellent beat ! I wish to apprentice whilst you amend your web site, how can i subscribe for a weblog website? The account aided me a applicable deal. I had been a little bit familiar of this your broadcast provided vibrant transparent idea|

  35. I would like to express some thanks to you for rescuing me from this type of predicament. After researching throughout the world wide web and getting concepts which were not pleasant, I believed my entire life was done. Living minus the solutions to the issues you have sorted out by way of the posting is a crucial case, and those which could have adversely affected my entire career if I had not discovered your website. Your ability and kindness in playing with all the things was precious. I am not sure what I would have done if I had not come upon such a thing like this. I can at this time look forward to my future. Thanks so much for your professional and effective help. I will not hesitate to recommend your blog post to anybody who ought to have guidance on this topic.

  36. I want to express my appreciation to this writer for rescuing me from this predicament. Right after surfing through the the web and coming across tricks which were not beneficial, I assumed my entire life was done. Living minus the approaches to the difficulties you have solved as a result of your good short article is a crucial case, as well as the ones that would have in a wrong way damaged my career if I had not encountered your blog post. The talents and kindness in playing with all areas was very helpful. I am not sure what I would’ve done if I had not come across such a subject like this. I am able to at this point relish my future. Thanks for your time so much for the specialized and sensible help. I won’t hesitate to recommend your blog to anyone who requires recommendations about this topic.

  37. My husband and i felt fulfilled Albert could carry out his research through your ideas he acquired from your weblog. It is now and again perplexing just to continually be freely giving guides people today could have been making money from. And we take into account we now have the blog owner to give thanks to for this. Most of the explanations you’ve made, the simple web site menu, the friendships you make it possible to foster – it’s most powerful, and it’s aiding our son and the family reckon that that subject matter is thrilling, and that’s exceptionally pressing. Thank you for the whole thing!

  38. I together with my pals were looking through the excellent tricks located on your website and all of the sudden I had a terrible feeling I had not expressed respect to the blog owner for those secrets. Those ladies were so passionate to read through them and have now very much been taking pleasure in them. I appreciate you for turning out to be quite accommodating and for making a decision on such extraordinary issues most people are really needing to discover. My personal honest apologies for not saying thanks to you sooner.

发表评论

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