写在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,439人评论了“写在CSS裸体节”

  1. Hmm it appears like your site ate my first comment (it was super 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 the whole thing. Do you have any recommendations for newbie blog writers? I’d definitely appreciate it.|

  2. I wish to express my appreciation to the writer just for rescuing me from this particular condition. Because of surfing through the internet and meeting recommendations that were not productive, I believed my life was well over. Living without the presence of strategies to the difficulties you’ve solved by means of your good review is a crucial case, and the ones which might have in a negative way damaged my entire career if I had not encountered your blog. Your ability and kindness in dealing with the whole thing was very useful. I am not sure what I would have done if I hadn’t come upon such a point like this. I am able to at this time look forward to my future. Thanks very much for this skilled and amazing guide. I will not be reluctant to recommend your web page to anyone who requires guidelines on this topic.

  3. I as well as my guys have already been checking the nice procedures found on the blog while suddenly got an awful suspicion I never thanked the web site owner for them. All the boys appeared to be as a result happy to see them and have now clearly been enjoying them. Appreciate your genuinely considerably helpful and for going for some perfect guides millions of individuals are really wanting to know about. My very own sincere regret for not saying thanks to sooner.

  4. Thank you for all your labor on this blog. Ellie takes pleasure in working on investigation and it’s obvious why. We learn all of the lively method you produce functional information through this web site and even foster response from some other people on that area of interest so my simple princess is without a doubt being taught so much. Enjoy the rest of the year. You are always carrying out a fantastic job.

  5. I and also my pals have already been reading the best strategies on your website and then the sudden came up with an awful feeling I had not thanked the web blog owner for those strategies. All of the men are actually totally glad to study them and have in effect without a doubt been making the most of them. Appreciation for getting really thoughtful and for picking out some incredible subjects millions of individuals are really needing to learn about. My very own honest apologies for not expressing gratitude to earlier.

  6. I am just commenting to make you know of the amazing discovery my friend’s daughter gained viewing yuor web blog. She came to understand some pieces, which included how it is like to possess an incredible helping nature to make certain people without problems know precisely a variety of grueling things. You really did more than our expectations. Thank you for distributing such invaluable, dependable, informative and in addition fun tips about your topic to Sandra.

  7. I as well as my pals appeared to be reading through the great advice from the website and so at once got an awful suspicion I had not thanked the web blog owner for those tips. The men happened to be totally passionate to read through them and now have truly been using those things. We appreciate you turning out to be considerably considerate and for considering these kinds of fabulous issues most people are really desperate to understand about. My very own honest regret for not expressing gratitude to earlier.

  8. Great article! This is the kind of information that are meant to be shared across the web. Shame on Google for no longer positioning this put up upper! Come on over and discuss with my website . Thanks =)|

  9. I simply wanted to type a small word to express gratitude to you for all of the lovely secrets you are posting at this site. My extensive internet search has at the end of the day been recognized with awesome suggestions to exchange with my best friends. I would suppose that most of us visitors actually are unquestionably blessed to live in a fine place with so many wonderful people with beneficial strategies. I feel very grateful to have discovered the website and look forward to really more fabulous times reading here. Thanks a lot once more for all the details.

  10. My spouse and i have been really ecstatic that Peter could carry out his investigation from the precious recommendations he grabbed through the web pages. It’s not at all simplistic just to find yourself giving out procedures which often many people could have been making money from. We grasp we have the blog owner to be grateful to because of that. The specific explanations you’ve made, the straightforward blog menu, the relationships you help to create – it’s all powerful, and it’s really facilitating our son and us consider that the concept is exciting, and that’s pretty essential. Many thanks for everything!

  11. Thanks so much for providing individuals with such a remarkable chance to read from this blog. It can be so lovely plus full of amusement for me personally and my office colleagues to visit your website nearly thrice in a week to read the latest issues you have got. And lastly, I’m actually fascinated with your stunning methods you give. Selected 2 ideas in this posting are in reality the simplest we have had.

  12. A lot of thanks for your own labor on this site. My mum enjoys engaging in investigations and it is easy to see why. Many of us learn all about the lively method you convey efficient tricks via this website and as well invigorate participation from some others on this idea while our girl is certainly understanding a lot of things. Take pleasure in the remaining portion of the year. You’re doing a glorious job.

  13. My wife and i ended up being comfortable that Emmanuel managed to do his inquiry from the precious recommendations he received out of your blog. It’s not at all simplistic to just happen to be making a gift of points that other folks could have been making money from. Therefore we understand we need the writer to thank for that. All the illustrations you’ve made, the easy blog menu, the friendships you can help create – it’s got most astounding, and it’s really making our son and us imagine that the concept is awesome, and that’s rather essential. Thanks for everything!

  14. After I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on each time a comment is added I get 4 emails with the exact same comment. There has to be a means you can remove me from that service? Thanks a lot!|

  15. After I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I receive four emails with the same comment. Perhaps there is a way you are able to remove me from that service? Thanks a lot!|

  16. Hello! I’m at work browsing your blog from my new apple iphone! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the superb work!|

  17. I enjoy you because of all your labor on this blog. My niece delights in participating in research and it’s really obvious why. My spouse and i hear all concerning the lively ways you convey reliable guides on this website and therefore increase contribution from others on this area then our daughter is always becoming educated a whole lot. Have fun with the remaining portion of the year. You are always carrying out a tremendous job.

  18. Thanks for every one of your work on this website. Kim take interest in doing investigations and it is easy to see why. All of us notice all about the lively way you deliver rewarding tips through the website and therefore inspire participation from others on that idea then my child is now discovering a lot of things. Take pleasure in the rest of the new year. You’re the one carrying out a pretty cool job.

  19. Hi there! Someone in my Facebook group shared this website with us so I came to check it out. I’m definitely loving the information. I’m bookmarking and will be tweeting this to my followers! Outstanding blog and superb design and style.|

  20. I’m just writing to let you understand of the excellent discovery my cousin’s princess went through using your web site. She discovered many issues, not to mention how it is like to possess a very effective helping heart to make the others with no trouble gain knowledge of specified hard to do issues. You truly exceeded our expected results. Thank you for giving such important, safe, explanatory and easy thoughts on the topic to Evelyn.

  21. I wish to express thanks to the writer just for bailing me out of this type of issue. Right after scouting throughout the internet and meeting opinions which were not beneficial, I assumed my entire life was over. Existing without the solutions to the problems you have sorted out as a result of your review is a crucial case, as well as the ones which may have negatively affected my entire career if I had not encountered your web page. Your own talents and kindness in dealing with all the details was important. I’m not sure what I would have done if I hadn’t discovered such a point like this. I am able to at this moment relish my future. Thanks for your time very much for this high quality and effective help. I will not be reluctant to propose the website to anybody who would need assistance on this topic.

  22. Thanks so much for giving everyone a very nice possiblity to check tips from this site. It’s always very lovely and stuffed with a great time for me and my office colleagues to visit your site really thrice in a week to see the fresh things you have. And of course, we are certainly happy concerning the awesome suggestions you give. Certain 1 points in this posting are basically the best I’ve had.

  23. I must express thanks to the writer for rescuing me from this type of circumstance. After looking out through the world wide web and getting suggestions which were not helpful, I thought my entire life was well over. Living without the presence of solutions to the problems you’ve fixed through your good guideline is a serious case, and those which may have negatively damaged my entire career if I hadn’t discovered your website. Your actual ability and kindness in taking care of all the pieces was crucial. I am not sure what I would’ve done if I had not come upon such a step like this. I’m able to at this point relish my future. Thanks for your time very much for this specialized and effective guide. I won’t hesitate to propose your blog post to any person who desires guidance about this problem.

  24. A person essentially help to make critically posts I would state. This is the first time I frequented your website page and so far? I surprised with the analysis you made to make this particular post amazing. Magnificent task!|

  25. You really make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complex and very broad for me. I am looking forward for your next post, I’ll try to get the hang of it!|

  26. Thank you, I have just been looking for info about this topic for ages and yours is the greatest I have came upon so far. However, what about the conclusion? Are you sure about the supply?|

  27. I as well as my pals were actually looking through the excellent tips located on the blog and then all of a sudden got an awful suspicion I had not thanked the site owner for them. All of the young boys were certainly warmed to see them and now have seriously been using those things. We appreciate you actually being quite considerate and for selecting variety of awesome tips millions of individuals are really wanting to learn about. Our own honest regret for not expressing appreciation to earlier.

发表评论

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