Posted by Eric Polerecky in CSS, c#, dsl, ironpython, ironruby, vb.netNov 22nd, 2009 | 3 Comments
Update: Today Less CSS for .NET, or just .Less, was released. Its a port of the ruby LESS library and exactly what I was/am looking for. I updated my question on SO already.
—– old post ——
I posted this on stackoverflow.com already…..
I’ve been working on a really large project for almost 2 years and the client requirements keep changing. These changes, of course, effect everything and I would like to find a way to work with the CSS in a more dynamic fashion.
I assume I could get one of the ruby or python CSS DSLs running under ironRuby/Python but this client is...
Posted by Eric Polerecky in CSS, DRYDec 4th, 2008 | No Comments
I find that DRY is the most underused understated TLA in application development today. Even when dealing with developers that come from a model-driven architecture (the java developers I work with).
Professor Wikipedia has this to say about DRY:
The DRY code philosophy is stated as “Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.”
And
When the DRY principle is applied successfully, a modification of any single element of a system does not change other logically-unrelated elements. Additionally, elements that are logically related...
Posted by Eric Polerecky in CSS, Dojo, IESep 16th, 2008 | 2 Comments
If the parent container of a dojox.grid.Grid has its style set to text-align:center the rows of the grid, in IE, won’t display their data. The data, of course, is still there and displays correct in everything else.
Code Snip:
1: <h2>Working</h2>
2: <div id="dojoxGrid" dojoType="dojox.Grid" jsId="dojoxGrid" structure="layout"></div>
3: <h2>Not Working (in IE)</h2>
4: <div style="text-align:center;">
5: <div id="dojoxGridError" dojoType="dojox.Grid"...