Sanskrit Lakshmi Mantra, Diya, Deep, Dipawali

ॐ श्रीं ह्रीं क्लीं त्रिभुवन महालक्ष्म्यै अस्माकम् दारिद्र्य नाशय प्रचुर धन देहि देहि क्लीं ह्रीं श्रीं ॐ ।

दीपक अमन के चारों दिशाओं में जगमगाएँ..
और समृद्धि आपके अंगना झिलमिलाएँ,
खुशियाँ आपके द्वार पर आकर खुशी मनाएँ..
दीपावली पर्व की आपको ढेरों मंगलकामनाएँ!!

आप सभी को खासकर इमानदार इंसान बनने के लिए संघर्षरत लोगों को दीपावली की हार्दिक बधाई और शुभकामनायें!!

New Web Development Technologies


After stagnating for quite some time, Web powering technologies are now experiencing rapid development. CSS is just the first wave, and it’s already giving way to more robust technologies like DHTML, LAMP, XML JQUERY and AJAX

The functionality available from these languages is driving a rapid evolution in the way Web sites look and behave.

So if your website really mean to you get these new technology implemented and go beyond normal HTML websites.
-Nitya tripathi

Feeling better now


Nitya tripathi, Nityanand tripathi

And life goes on

Dengue Fever have totally shaken me…but slowly I am coming out of this and feeling better now…still there is lots of rest and care needed…

But back to work now…
I think this the only way I can get out of this horrible experience.

Praying for a beautiful life ahead…

Cheers!!

The Difference Between ID and Class


ID’s and Classes are “hooks”

We need ways to describe content in an HTML/XHTML document. The basic elements like <h1>, <p> and <ul> will often do the job, but our basic set of tags doesn’t cover every possible type of page element or layout choice. For this we need ID’s and Classes. For example <ul id=”nav”>, this will give us the chance to target this unordered list specifically, so that we may manipulate it uniquely to other unordered lists on our page. Or we might have a section on our page that has no relevant tag to signify it, for example a footer, where we might do something like this: <div id=”footer”>. Or perhaps we have boxes in our sidebar for keeping content over there separated in some way: <div class=”sidebar-box”>.

These ID’s and Classes the “hooks” we need to build into markup to get our hands on them. CSS obviously needs these so that we may build selectors and do our styling, but other web languages like Javascript depend on them too. But what is the difference between them?

ID’s are unique

  • Each element can have only one ID
  • Each page can have only one element with that ID

When I was first learning this stuff, I heard over and over that you should only use ID’s once, but you can use classes over and over. It basically went in one ear and out the other because it sounded more like a good “rule of thumb” to me rather than something extremely important. If you are purely an HTML/CSS person, this attitude can persist because to you, they really don’t seem to do anything different.

Here is one: your code will not pass validation if you use the same ID on more than one element. Validation should be important to all of us, so that alone is a big one. We’ll go over more reasons for uniqueness as we go on.

Classes are NOT unique

  • You can use the same class on multiple elements.
  • You can use multiple classes on the same element.

Any styling information that needs to be applied to multiple objects on a page should be done with a class. Take for example a page with multiple “widgets”:

You can now use the class name “widget” as your hook to apply the same set of styling to each one of these. But what if you need one of them to be bigger than other other, but still share all the other attributes. Classes has you covered there, as you can apply more than one class:

No need to make a brand new class name here, just apply a new class right in the class attribute. These classes are space delimited and most browsers any number of them (actually, it’s more like thousands, but way more than you’ll ever need).