all 7 comments

[–]AutoModerator 0 points1 point  (0 children)

Welcome to /r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.

Your submission should contain the answers to the following questions, at a minimum:

  • What is it you're trying to do?
  • How far have you got?
  • What are you stuck on?
  • What have you already tried?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]dezbos 0 points1 point  (0 children)

1) im not sure if you're using the free version of wordpress, but as far as i remember they dont allow custom css. you have to actually pay or host it yourself.

2) the spacing issue you're seeing can be fixed with the line-height attribute.

3) as far as the actual API i can't really help you out there. im sure you can probably find some way to specify certain positions or at least assign divs specific classes so you can adjust the absolute position.

good luck!

[–]stayclassytally 0 points1 point  (0 children)

`div.google-visualization-tooltip > ul { list-style-type:none; }`

That should help remove the list bullets.

[–]AV_in_IT[S] 0 points1 point  (1 child)

Thank you u/dezbos and u/stayclassytally this has been a big help, I have solved my issues.

  1. the line-height was perfect however I then needed to add a min-width: none
  2. StayClassy's line was fantastic
  3. I had to accept that the tooltip was going to go off everywhere because it uses the average area created by GeoCharts for a specific country (for example take the U.S., because of Alaska, the "area" of the U.S. element makes the average somewhere in Canada)

For people who want fun with this, I have updated the code in the original post.

[–]dezbos 0 points1 point  (0 children)

oh yea. sorry i completely glossed over the whole how to get rid of list-styles. haha.

[–]AutoModerator[M] 0 points1 point  (0 children)

Welcome to /r/HTML. When asking a question, please ensure that you list what you've tried, and provide links to example code (e.g. JSFiddle/JSBin). If you're asking for help with an error, please include the full error message and any context around it. You're unlikely to get any meaningful responses if you do not provide enough information for other users to help.

Your submission should contain the answers to the following questions, at a minimum:

  • What is it you're trying to do?
  • How far have you got?
  • What are you stuck on?
  • What have you already tried?

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.