₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,345,305 members, 8,516,630 topics. Date: Wednesday, 11 November 2026 at 04:29 AM

Toggle theme

(object Oriented Css)-bad Practice Or Good Practice - Webmasters - Nairaland

Nairaland Forum › Science/Technology › Webmasters › (object Oriented Css)-bad Practice Or Good Practice (677 Views)

1

(object Oriented Css)-bad Practice Or Good Practice by Nobody: 4:48pm On Nov 21, 2009
Hi everyone,my passions lies in styling themes like themeforest, or nettuts or some of those you see in wordpress,so i love creating templates everyday just to prove nigerian sites can be equally good.the dilemma is i find myself spending more time creating too much location based specific selectors e.g #contain #sub-container and these practice frustrates me cuz i have to create individual settings for each element,till i stumbled upon OOCSS, which encourages uses of multiple class e.g <div class"left border color padding width"> which has allowed me to create templates with ease, but i read on the net that it's bad practice and not Semantic (whatever that means). does that mean that feature xhtml standards won,t allow these.thanks for your reply.pls no bashing wink

1

A Beginners Guide To Object-oriented Programming (OOP) In PHP 5+ • Procedural Vs Object Oriented PHP • Object Oriented CSS [Bad Practice Or Not]? • 2 • 3 • 4

How To Design A Website In 60 Minute Or Less • Any Engineers Of Any Field • Html Or Flash?