I have referred this [question](https://stackoverflow.com/questions/257505/css-fixed-width-in-a-span) but it dint help me out . I am trying to change span tags **height and width** inside image tag but it's not working and this is my code:

**html**

```
<img class="profile_pic" alt="Sumanth Jois" src="file/someimage">
           <span  class="changePicture">HelloThere</span>     
 </img>

```

**Css**

```
     //There are many spans so I am using the . operator to specify
     span.changePicture{
        width: 100px;
       height:200px;
       background-color:red;
        margin-left: -150px;
        color: white;
        margin-top: -20px;
     }

```

I am not able to change the width and height using this code.Can I know how I can solve this?

ThankYou