[css-d] CNNs CSS file
I was looking on CNNs site to see what there CSS file looks like And they have a grouping of common padding. Just though it was interesting. What do you guys think? Here is part of it: /* common paddings */ .cnnPad1Top{padding: 1px 0 0 0;} .cnnPad2Top{padding-top:2px;} .cnnPad3Top{padding-top:3px;} .cnnPad3T{padding-top:3px;} .cnnPad4Top{padding-top:4px;} .cnnPad5Top{padding-top:5px;} .cnnPad6Top{padding-top:6px;} .cnnPad7Top{padding:7px 0 0 0;} .cnnPad8Top{padding-top:8px;} .cnnPad9Top{padding-top:9px;} .cnnPad12Top{padding-top:12px;} .cnnPad13Top{padding-top:13px;} .cnnPad14Top{padding: 14px 0 0 0;} .cnnPad16Top{padding-top:16px;} .cnnPad16T{padding-top:16px;} .cnnPad18Top{padding:18px 0 0 0;} .cnnPad30Top{padding-top:30px;} .cnnPad156Top{padding:156px 0 0 0;} .cnnPad5{padding:5px;} .cnnPad9{padding:9px;} .cnnPad8{padding:8px;} .cnnPad10{padding:10px;} .cnnPad12{padding:12px;} .cnnPad18{padding:18px;} .cnnPad5Left{padding-left:5px;} .cnnPad6Left{padding-left:6px;} .cnnPad9Left{padding-left:9px;} .cnnPad8Left{padding-left:8px;} .cnnPad12Left{padding-left:12px;} .cnnPad18Left{padding: 0 0 0 18px;} __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CNNs CSS file
Atkinson, Sarah wrote: I was looking on CNNs site to see what there CSS file looks like And they have a grouping of common padding. Just though it was interesting. What do you guys think? Here is part of it: I guess they can get away with such bad practice because they're CNN. Ever tried validating the Microsoft website? I got 188 errors on the landing page last time. They, too, can get away with it because they're a titan. Joe Freelancer would have a hard time getting work using those practices, I think. -- !-- ! Bill Brown macnim...@gmail.com ! Web Developologist, WebDevelopedia.com -- __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CNNs CSS file
Atkinson, Sarah wrote: I was looking on CNNs site to see what there CSS file looks like And they have a grouping of common padding. Just though it was interesting. What do you guys think? Here is part of it: CNN is not alone. None of the major news organizations could code their way out of a wet paper bag ;-) . BBC http://www.chelseacreekstudio.com/ca/cssd/bbc.png NBC http://www.chelseacreekstudio.com/ca/cssd/nbc.png CNN http://www.chelseacreekstudio.com/ca/cssd/cnn.png ~d -- A thin red line and a salmon-color ampersand forthcoming. http://chelseacreekstudio.com/ __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] CNNs CSS file
David Laakso wrote: Atkinson, Sarah wrote: I was looking on CNNs site to see what there CSS file looks like And they have a grouping of common padding. Just though it was interesting. What do you guys think? Here is part of it: CNN is not alone. None of the major news organizations could code their way out of a wet paper bag ;-) . BBC http://www.chelseacreekstudio.com/ca/cssd/bbc.png NBC http://www.chelseacreekstudio.com/ca/cssd/nbc.png CNN http://www.chelseacreekstudio.com/ca/cssd/cnn.png The CNN content looks something like the CSS emitted by a Content Management System my employer used to use. The GUI content editor would let users change fonts and colors and sizes and such any way they liked. Then, when the document was published, the system would create a CSS class to apply that formatting to the selected text. The class name might be something like Arial-5-ff66aa-Bold-Underline-Italic ... -- David gn...@hawaii.rr.com authenticity, honesty, community __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/