Question: In my website i use svg elements. Sometimes i need them to be clickable, therefore i want pointer cursor over them.

However adding css class or style

```
cursor: pointer;

```

not work.

That's the example element

```
<object id="male2" type="image/svg+xml" data="course/ani/male2.svg" style="left: 87px; bottom: 56px;" es-character="male2"></object>

```

It seems like it just not worki with svg. Anyone know how to fix, or how to go around it?

Answer: 
I think this is the easiest solution among the others:

1. wrap svg into `<a>` or anything else that will receive clicks:

```
<a href="#">
    <object>
        <embed src="img.svg"></embed>
    </object>
</a>

```

2. remove pointer events from `<object>` so all clicks will be triggered on the wrapper element:

```
object {
    pointer-events: none;
}

```
One of the simplest solutions may be to use img tag instead of object tag

```
<img src="course/ani/male2.svg" style="left: 87px; bottom: 56px;"  />

```

although, ideally you can embed the svg in the html. 
That doesn't let you cache the svg files, so I found using javascript to load the svg file as text and insert into the DOM allowed for caching and still got the SVG directly into the DOM so it could use all the css styles from your page.