On 2/18/06, Paul Novitski <[EMAIL PROTECTED]> wrote: > Would you really want to be able to write CSS rules like this? > > d(iv|l)(.|#)cont(act|ent) (p(re){0,1}|dt) > { > border(-.+){0,1}: 1px solid #000; > }
Do you know how much slower CSS would get if we were allowed to do things like this? CSS is intended to be fast and lightweight... loading it with expressions, variables, conditionals, etc. would take away this key benefit. Besides, there's a place for this kind of behavior, and it's called scripting. The reason why we don't use it is because once again, it's slow. Just do: h1, h2, h3, h4, h5, h6 { } Which is clean, fast, and easy to work with. -- -- Christian Montoya christianmontoya.com ... rdpdesign.com ... cssliquid.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/