…a word on CSS

12 10 2007

This was not the first post I had planned. It was to be a polemic on JavaScript‘s failures as a high level language. Not something new, people have been slowly realizing that JavaScript is more than alert boxes. With AJAX spearheading the Web 2.0 revolution and dragging the WWW out of tech corridor’s, geek quarters and Nigerian e-mail scam ‘s. But… the technologies which have radicalized the internet still remain shadowy and the domain of a few. All web programming languages remain in the custody.

And CSS is technically a programming language. Cascading Style Sheets describes the presentation of a document written in a markup language. For practical purposes the markup language is predominantly HTML (preferably XHTML), but any derivative of XML can be styled using CSS. It is a classical example of separation of concerns – the markup language, say HTML allows us to describe the document content and CSS describes the presentation.

It’s a great exercise for your imagination – how big should the “tabs” on this edit post page be, should they be rounded, what color should the tabs be, what font the lettering, should they be grayed out when not selected… and that’s just those two dinky tabs which say “Visual” and “Code” (out of curiosity how many have clicked on the code tab?). Every single element I just described can be done using HTML attributes or inline styles as well; but CSS extracts it out of the document content, allows you to apply it to other documents, gives a designer more freedom to work on every single display element, makes your web development effort more streamlined and easier to debug. For example, the place I work at has a changing look for our website every semester. To update each single page – that is a living misery. But now thanks to all the CSS effort we have, its easier to change skins in a second. What do you think WordPress does when they offer different color’s?

Anyways point being anyone can learn CSS. What is difficult is providing for all browsers and IE in particular. M$ has some of the best brains in the world, but their design and business decisions are mostly daft. But 90% of your customers/ visitors will use IE <*SIGH*> and you have to make sure the CSS works fine everywhere. I think that’s what will loose CSS most of it’s noobies – people lack patience to work on a skill that will take time to materialize <*guilty smile*>. Give it a try; most probably you will not be doing anything more than adding new color’s and making the page visually attractive… but who knows where that might lead you to.

As an end let me lead you to what I believe is the most beautiful concept in the Internet today.





I know for a fact that kissing is not part of the Indian Culture !

12 10 2007

But apparently this gentleman thought otherwise. This is the rediff article, but I saw a similiar story in cricinfo. What is really really disturbing is that this tit bit is being bandied as bona fide cricket news. How does that make sense ?





So why do I hate kids dancing…..

1 10 2007

…simple… I don’t. Sheesh, little children running around your legs , play acting , being kings and queens (or Indians and the cavalry) is pretty cool. I can even see myself doing dance steps to some horrible nursery rhyme (photos exist… I had worn makeup <gaarghhh>). But not this, never never like this. Maybe I’m just being a prude and all children today grow faster then I did – hey, I’m not that old, matter of fact I am the same generation as this dancer – but hey people HAVE some SENSE. WTF is this video all about???





I know I may sound supercilious here … but WTF?

28 09 2007

WTF?

I think I am more curious as to WTF got the dude to post this video on YouTube.





Hello world!

28 09 2007

Hello World!

This is not an attempt to quote “blog” unquote. More like a list of WTF?’s which I keep coming across various sources – stumbleupon, friends recommending, random surfing. Hey can anyone think of a better way to celebrate the inanities of the Internet ?








Follow

Get every new post delivered to your Inbox.