Archive for the ‘css’ Category
css selectors
Posted by detour1999 | Filed under css, nerdly, xsl
okay…
here’s something I’ve been thinking about.
XHTML is just a specific flavor of XML, right?
Furthermore, valid HTML is almost valid XML (aside from some non-closed tags, like <hr>, <br> etc..)
CSS uses selectors to chose which parts of the markup to affect, essentially returning a set of nodes based on a selector.
XPath queries return a set of nodes based on that query.
Why can’t we use XPath queries as CSS selectors?
I know the obvious answer is that it doesn’t support it… I guess my question is why not?
I know, this sounds a lot like XSL…
but not.
I just want the selectors that XSL has for CSS.
Can anyone tell me why that’s a bad idea?
-d.
summary of work.
Posted by detour1999 | Filed under css, js, nerdly, work
Well, I quit my job that I’ve had for the past 7 1/2 years…
It’s a really odd sensation to not have the same thing to do everyday…
Friday is my last day.
Until then I am supposed to write some sort of ReadMe file for the internal site I’ve been working on.
I should rephrase that.
I am supposed to write a series of ReadMe files on the aspects of the internal site I’ve been working on that no one else seems to understand.
Which is to say, three files:
- CSS
- DOM Scripting
- AJAX
I’ve been somewhat nonplussed about the whole thing. Frankly, I’m of the opinion that if you don’t know the basics of CSS, you shouldn’t be allowed anywhere near the back side of a website. Similarly, if you don’t know anything about the DOM, don’t go near DOM scripting. Especially not on a production site.
But, in the end, I want to leave here on good terms, so I’ve been working on the ReadMe files…
Here’s what I’ve garnered from writing the CSS one and the DOM scripting one. (more…)