The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to have one div inside another

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #249648

    Hi I am using canvasjs for making a chart. It is very simple to make a particular chart but here is the problem I want to have two different charts such that a pie chart would be inside of a doughnut chart.

    I am not able to make one other inside. I have used the

    display :inline-block;

    I have added codepen link


    You’d need to give one of them a transparent background at least:

    backgroundColor: null

    Yes, I figured that out. Now, I am able to have that I want. You can see now here


    That looks quite nice now. :-)


    thanks :)

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.