I have a webapp where I load all subpages with ajax and Im trying to set the background to opacity 0 or transparent but it only gets white.

The page that I load looks like this:

```
<div id="pageid">

  <div id="header">
  header
  </div>

Text

</div>

```

And the code for trying to set the opacity:

```
$("#pageid").css({ opacity:0.1 });

```

Any input appreciated, thanks.

Update:
It was a problem with the z-index order and a display none that I had missed, thanks.