Question: > 
> **Possible Duplicate:**  
> 
> [Enable Flight mode with out disabling the wifi and bluetooth in android](https://stackoverflow.com/questions/7105750/enable-flight-mode-with-out-disabling-the-wifi-and-bluetooth-in-android) 
> 
> 
> 

Any one tel me how to disable cell radio in airplane mode.

i have tried the below code its not working. 

settings.system.putstring(getcontentresolver(),settings.System.AIRPLANE\_MODE\_RADIOS,Settings.System.RADIO\_CELL);

Settings.System.putInt(getcontentresolver(),settings.System.AIRPLANE\_MODE\_ON,1);

there is no change in the Settings - > wireless networks (This check box is not enabled)

i can able to make a cal also when i tried the above code/. please help me in this

Answer: 
If you use

```
position: absolute; 

```

And you use negative and positive margins, you will be able to place the div wherever you want (eliminating the need for using anything other than position: absolute), the margins will just be relative to wherever the div is placed in the code.
Another bug with the coding is that the div shows up (at least in my browser {chrome}) before you even hover above the text that activates it. A very quick fix for this, to ensure the proper functionality in all (or most) browsers, is to add the following style to the CSS style "box":

```
display: none;

```

This will hide the DIV by default, in turn, stopping it from showing up on the page load. Then when you hover above the text the "display: block" in the JavaScript will overwrite it, so there will be no issues.

The final outcome of my "box" css style is:

```
padding: 3px; margin-left:-10px; margin-top:15px; color: #fff; font: normal 12px Arial, Sans-serif; position:absolute; display:none; padding: 10px 7px 10px 7px; border:#333333 1px solid; border-radius:3px; width:224px;

```
The problem is your positioning the box absolutely:

```
position: absolute;

```

Instead try positioning relative or fixed.

```
position:fixed;

```