z-index issue with IE7

Hi all, I spent almost a day to figure out how to fix z-index issue with IE7.



<div id=”wrapper”>
<div id=”inner”>

<div id=”menu”></div>

Assume I have a menu with z-index:10 and I want wrapper to sit on top of menu . What I did was I had

Hoping it to work in all browsers, It worked in all except IE7.

reasons : IE7 except us to provide postion:relative, So what I did was added position relative to #inner

Now #inner{z-index:999;position:relative;} Still it didnt worked. IE7 creates its own stack I mean the there is one more div on top of inner div i.e. wrapper

so Wrapper by default adds stack to all its children so even though inner has 999 z-index it wont work.

Solution is to provide z-index to wrapper and position it rather than to inner div


April 1, 2010 at 4:42 am 1 comment

Floating message | Banner for IE6 users using jquery

#message_box {
position: absolute;
top: 0; left: 0;
z-index: 10;
border:1px solid #CCCCCC;

<script type=”text/javascript” language=”javascript”>

//scroll the message box to the top offset of browser’s scrool bar
$(‘#message_box’).animate({top:$(window).scrollTop()+”px” },{queue: false, duration: 350});

$(‘#message_box’).animate({top:$(window).scrollTop()+80+”px” },{queue: false, duration: 350});
//when the close button at right corner of the message box is clicked
//the messagebox gets scrool down with top property and gets hidden with zero opacity

$(‘#message_box’).animate({ top:”+=15px”,opacity:0 }, “slow”);


<div id=”message_box”><img id=”close_message” style=”float:right;cursor:pointer”  src=”12-em-cross.png” />The floating message goes here</div>

content goes here



April 1, 2010 at 4:33 am Leave a comment

GOD wanted to play cricket, so Sachin was born

It was a super sunday and Deccan were playing in there own yard and MI’s away game
But after looking at the crowd It felt that MI is playing at home.
there were around 55,000 people waiting, cheering for GOD to deliver goods this time as well.
MI started well, sachin flick shot by moving across the stump to RP singh was worth watching
Well It was again a superlative innings from a little master.
He has achieved so much in cricket, but still I wonder how the hell he carries the same enthuism everytime he goes to bat.I think its the passion about the game, Its the respect about the game. Desire to be at the top, Hunger to be successful.

After all his achivements he still stays humble down to earth person. Youngstars will always cherish this moment to learn more from him. He is the biggest superstar, Superhuman on the earth.

Sachin tendulkar  u little beauty. Keep going and keep roaring.

GOD wanted to play cricket, so sachin was born.

March 29, 2010 at 2:50 am 1 comment

How to customize addthis plugin

Hey you need not to be PHP expert or javascript expert to customize addthis plugin. Just add this bit of snippet in the <head> tag

<script type=”text/javascript”>
var addthis_config = {
services_compact: ‘facebook, twitter, stumbleupon, digg, orkut, email, more’,

so keep adding rhe social networking sites names with comma separated and you are done.

Enjoy :), hope it helped

March 10, 2010 at 4:18 am Leave a comment

sachin tendulkar | superman of india | god bats at No 4 :)

To all who idolize and Envy the Genius named “SACHIN TENDULKAR”……..

“Nothing bad can happen to us if we’re on a plane in India with Sachin Tendulkar on it.”

– Hashim Amla, the South African batsman, reassures himself as he boards a flight.

“Sometimes you get so engrossed in watching batsmen like Rahul Dravid and Sachin Tendulkar that you lose focus on your job.”

Yaseer Hameed in pakistani newspaper.

“To Sachin, the man we all want to be”

– Andrew Symonds wrote on an aussie t-shirt he autographed specially for Sachin.

“Beneath the helmet, under that unruly curly hair, inside the cranium, there is something we don’t know, something beyond scientific measure. Something that allows him to soar, to roam a territory of sport that, forget us, even those who are gifted enough to play alongside him cannot even fathom. When he goes out to bat, people switch on their TV sets and switch off their lives.”

– BBC on Sachin

“Tuzhe pata hai tune kiska catch chhoda hai?”

– Wasim Akram to Abdul Razzaq when the latter dropped Sachin’s catch in 2003 WC.

Sachin is a genius. I’m a mere mortal.

– Brian Charles Lara

“We did not lose to a team called India…we lost to a man called Sachin.”

– Mark Taylor, during the test match in Chennai (1997)

“The more I see of him the more confused I’m getting to which is his best knock.”

– M. L. Jaisimha

“The joy he brings to the millions of his countrymen, the grace with which he handles all the adulation and the expectations and his innate humility – all make for a one-in-a-billion individual,”

– Glen McGrath

“I can be hundred per cent sure that Sachin will not play for a minute longer when he is not enjoying himself. He is still so eager to go out there and play. He will play as long as he feels he can play,”

– Anjali Tendulkar

“Even my father’s name is Sachin Tendulkar.”

– Tendulkar’s daughter, Sara, tells her class her father’s name after the teacher informs them of a restaurant of the same name in Mumbai.

Question: Who do you think as most important celebrity ?

Shah Rukh Khan: There was a big party where stars from bollywood and cricket were invited. Suddenly, there was a big noise, all wanted to see approaching Amitabh Bachhan. Then Sachin entered the hall and Amitabh was leading the queue to get a grab of the GENIUS!!

– Shah Rukh Khan in an interview.

“India me aap PrimeMinister ko ek Baar Katghare me khada kar sakte hain..Par Sachin Tendulkar par Ungli nahi utha Sakte.. “

– Navjot Singh Sidhu on TV

He can play that leg glance with a walking stick also.

– Waqar Younis

‘I Will See God When I Die But Till Then I Will See Sachin’

– A banner in Sharjah

Sachin Tendulkar has often reminded me of a veteran army colonel who has many medals on his chest to show how he has conquered bowlers all over the world. I was bowling to Sachin and he hit me for two fours in a row. One from point and the other in between point and gully. That was the last two balls of the over and the over after that we (SA) took a wicket and during the group meeting i told Jonty (Rhodes) to be alert and i know a way to pin Sachin. And i delivered the first ball of my next over and it was a fuller length delevery outside offstump. And i shouted catch. To my astonishment the ball was hit to the cover boundary. Such was the brilliance of Sachin. His reflex time is the best i have ever seen. Its like 1/20th of a sec. To get his wicket better not prepare. Atleast u wont regret if he hits you for boundaries.

– Allan Donald

“Sachin cannot cheat. He is to cricket what (Mahatma) Gandhiji was to politics. It’s clear discrimination. ”

– NKP Salve, former Union Minister when Sachin was accused of ball tempering

There are 2 kind of batsmen in the world. One Sachin Tendulkar. Two all the others.

– Andy Flower

“I have seen god, he bats at no.4 for India”

– Mathew Hayden

The best one.

On a train from Shimla to Delhi, there was a halt in one of the stations. The train stopped by for few minutes as usual. Sachin was nearing century, batting on 98. The passengers, railway officials, everyone on the train waited for Sachin to complete the century. This Genius can stop time in India!!

– Peter Rebouck – Aussie journalist

he really is god of cricket………

he is rare ” kohinoor heera “ of INDIA……

February 26, 2010 at 9:27 am 3 comments

The Unsung Hero of Indian Cricket [ Ajit Agarkar ]

Well, there are lot of cricketers, who came in made an early inroads, got stardoms and got disappeared, it’s like a Cinderella’s fairytale in Indian cricket.

Well we are not talking about the Uttapa’s or Rohit sharma’s or Ishant sharma’s. I am talking about Ajit Agarkar, Man who has the record of fastest 50 scored by an Indian. Man who has the 2nd fastest 50 wickets in ODI’s. He has uncanny ability of taking lot of wickets, by conceding runs. But it unfair to say only he concede lot of runs, you should keep him out of Indian team. Look at Ishant sharma kind of phase he is in within 1 year of international cricket, whenever he comes and bowl to a batsmen it looks like you are guaranteed to see atleast 2-3 boundaries in that over.

Ajit Agarkar is the totally forgotten by Indian selectors now, then focusing on youth rather than the experienced guy like agarkar, who has 288 ODI wickets to his name more than Kapil dev I guess. His encomy was on higher times at those times, but 6 an over is almost unacceptable and team chase down 300 plus targets within no time.

Ajit has a good bouncers which can surprise batsmen along with his pace. Man he is 30+ still bowls speeds better than Ishant’s or any other bowler in the Indian circit now.

He is very good middle lower down batsmen and got a ability to make runs and he showed that in many occasion, one in Lords test that Indian lost, there he scored a century , even great little Sachin tendulkar deprived of. He scored a match winning innings on hell lot of occasions even in ranji’s.

How can we forget his match winning bowling performance in Sydney test where he picked 6 Aussies wickets, where the wicket was conducive for Spin bowling

Look at Zaheer he become wiser by age. Earlier he used to bowl all over the place but now he is 30+ and form of his life.

Indian selectors must give him a last chance, when they can give Rahul a chance why can’t Ajit. Look at the way he performed in the Ranji throphy final with 7 wicket haul.

All the best Ajit, I still feel you have a guts to make it to Indian team

January 15, 2010 at 4:12 am 107 comments

Cricket after Sachin Tendulkar mania or saga

master blaster

Well, It’s shouldn’t happen 🙂 , Sachin retiring from cricket is the worst thing, I can ever imagine in my life. I pray god to give him power to play many more years to come. I would like to see him sharing dressing room with his son.
Well, we are not here to talk about Sachin tendulkar’s retirement.

I am big fan of cricket India, used to watch all the match with gluing myself to television, but for the first time, I felt there is nothing interesting happening in tri nation series in Bangladesh. Am I missing something? How can be feel cricket is getting bore to me? I am losing interest in cricket. Well, then hundred of questions lingered in my mind and I kept answering few of them. Is it due to too much cricket which being played now days? Every alternate day you will find some or the other match? Is cricket is just becoming like any other Movie channels or like any other daily soaps? Well finally I got an answer J , cricket was found wanting due to Sachin’s absence. There are days when people used to switch off there television when he used to get out. Now people say there are many youngsters and blaaa blaaaa, but still I can’t imagine Indian cricket without Sachin. He is a charismatic cricketer, He brings smile to 100 million people when ever he goes to bat. Everyone forgets there pain in life while watching Sachin bat. He’s such a rockstar in this nation and world-wide. Without Sachin I felt cricket boring and I didn’t even saw the final properly, that’s the impact the little genius has on Indian and world cricket. TRP ratings of neo cricket might have came down all time low 🙂

January 14, 2010 at 3:58 am 8 comments

Older Posts Newer Posts

Flickr Photos

Blog Stats

  • 726,941 hits