#mynetwork { width: 400px; height: 400px; border: 1px solid lightgray; } .header{ text-align: center ; display: block; font-family: sans-serif; margin-bottom: 20px; margin-top :20px; font-size: large; } #mychart{ width: 1000px !important; height: 500px !important; justify-content: center; } #mychart1{ width: 800px !important;; height: 500px !important; } #mychart2{ width: 800px !important;; height: 500px !important; } canvas{ margin: 0 auto; justify-content: center; } #cityfilter { margin-top: 20px; margin-bottom: 20px; text-align:center; } #networkcityfilter { margin-top: 20px; margin-bottom: 20px; text-align:center; } #mynetwork { margin-left: 200px; margin-right:100px; width: 1000px !important; height: 500px !important; justify-content: center; display: inline-block; } h1{ text-align:center; font-family: sans-serif; } #center { margin-left: 200px; }