Dylan Richard talks about stuff.

but, wtf do I know anyway.

  • Contact
  • Resume
  • About
  • Tech I Use
  • css selectors

    • 5 Sep 2007
    • 0 Responses
    •  views
    • css nerdly xsl
    • Edit
    • Delete
    • Tags
    • Autopost
    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.
    • Tweet
  • summary of work.

    • 5 Sep 2007
    • 0 Responses
    •  views
    • css js nerdly work
    • Edit
    • Delete
    • Tags
    • Autopost
    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:
    1. CSS
    2. DOM Scripting
    3. 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.

    Read the rest of this post »

    • Tweet
  • About


    26867 Views
  • Archive

    • 2011 (4)
      • April (1)
      • March (2)
      • February (1)

    Get Updates

    Follow this Space »
    You're following this Space (Edit)
    You're a contributor here (Edit)
    This is your Space (Edit)
    Follow by email »
    Get the latest updates in your email box automatically.
    Loading...
    Subscribe via RSS