Currently Browsing: CSS

Help! Looking for a CSS DSL!

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...
read more

DRY: CSS #1

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...
read more

dojox.grid.Grid rows not displaying in IE

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"...
read more