score:1

to place a block in the middle of a page you can use a very simple css setting. As you want the chart to be in the middle add the following to your css

    #tooltip {
      margin: 0 auto
    }

to add a hover function to a class or id you could use the following css. Just change the values to your corresponding id or class

#example:hover {
background-color: blue;
}

Hope this helps!


Related Query

More Query from same tag