Friday, April 27, 2007

Thursday, April 26, 2007

India, now a $1-trillion economy!

Thanks to the appreciating rupee, India has become the 12 economy to be valued above a trillion dollars at current rates.
In PPP we are well above :)

http://www.rediff.com/money/2007/apr/26india.htm

Tuesday, April 24, 2007

India Poised

Nice statement made on India as it is now.

Thursday, April 19, 2007

B-schools: misleading the gullible junta

So finally one student spoke up on the inflated salaries quoted by Indian B-Schools.

And here it goes:

"On further prodding, I was told about the method. The average and median salaries were calculated on the number of offers and not on the final accepted offers. Also, all the foreign salaries are converted to their INR equivalents and then added to the pool! Moreover, in calculation of the lowest salary the higher of the offers is taken into account for all the students. Confusing, isn’t it? Let me explain."

And digg this article at: http://digg.com/offbeat_news/B_schools_misleading_the_gullible_junta

Wednesday, April 18, 2007

CSS3 - background-size

Since today morning was working on setting a good template for this blog. The problem was the current template had a width of 700 px. It had a div and a background image with width 700 px. Now that look awfully thin on my 1280 x 1024 LCD screen. So wanted to extend it to 800 px.

So here is how it looked like in the css:

#main-top {
width:700px;
height:56px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_top.jpg") no-repeat top left;
margin:0px;
padding:0px;
display:block;
}


Simply I extended its width to look like:

#main-top {
width:800px;
height:56px;
background:#FFF3DB url("http://www.blogblog.com/scribe/bg_paper_top.jpg") no-repeat top left;
margin:0px;
padding:0px;
display:block;
}

The div got extended with the background color. The problem was that the image was of width 700 px which did not get extended and hence started my R&D.

CSS provides the img with two attributes to stretch the image namely width and height and they are implemented well both on IE and FF. The problem is div:background does not support width or height attributes.

So I first went through google to find any similar problem being reported in any of the forums/groups. Got a few but most were questions but with no elegant answers. They were mostly hacks in the line of http://www.htmlite.com/faq022.php . Most of them created 2 divs: one to host the image with z-index lower than the other div hosting the text. This does not seem to be a good solution to me and was not convinced that CSS (being a well known standard) does not implement such a thing.

So went to w3.org for CSS background and got a new property called 'background-size' and tried it out but it did not work. Neither in IE nor in FF. Thats bad. So looked into google again for more information and got to know that its only implemented in Konqueror (Thanks to KDE guys to implement is in KHTML hence it got into Apple Safari/Webkit).

So what to do.. remove the background image totally and it looks plain simple and better.

Init 1: again

As my existing blog (sandybglr@blogger) went underground, I have booted up this one which will contain all open discussions.
Hope to start filling it up soon.