Title: Why is inline CSS used?
Last modified: December 21, 2020

---

# Why is inline CSS used?

 *  Resolved [haddlyapis](https://wordpress.org/support/users/haddlyapis/)
 * (@haddlyapis)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/why-is-inline-css-used/)
 * Hi there,
 * I am currently using this site to analyse for XXS issues ([https://webbkoll.dataskydd.net/de](https://webbkoll.dataskydd.net/de)).
   
   One warning that then appears in the console is the inline style for maxicharts.
 *     ```
       <style>.maxicharts_reports_canvas {
       	width: 100%!important;
       	max-width: 100%;
       }
   
       @media screen and (max-width:480px) {
       	div.maxicharts_reports-wrap {
       		/*position: relative;
                               margin: auto;
                               height: 100vh;
                               width: 100vw;
                               display: block;*/
       		width: 100%!important;
       		float: none!important;
       		margin-left: auto!important;
       		margin-right: auto!important;
       		text-align: center;
       	}
       }
   
       </style>
       ```
   
 * Can I ask why any inline styling is used when you also use external style sheets
   as well?
    thx for any help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhy-is-inline-css-used%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * (@maxicharts)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/why-is-inline-css-used/#post-13860635)
 * Hi [@haddlyapis](https://wordpress.org/support/users/haddlyapis/) ,
    Thanks for
   your feedback, this is old css code that will be removed in next released. Happy
   new year!

Viewing 1 replies (of 1 total)

The topic ‘Why is inline CSS used?’ is closed to new replies.

 * ![](https://ps.w.org/maxicharts/assets/icon-256x256.png?rev=1737118)
 * [MaxiCharts](https://wordpress.org/plugins/maxicharts/)
 * [Support Threads](https://wordpress.org/support/plugin/maxicharts/)
 * [Active Topics](https://wordpress.org/support/plugin/maxicharts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/maxicharts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/maxicharts/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [maxicharts](https://wordpress.org/support/users/maxicharts/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/why-is-inline-css-used/#post-13860635)
 * Status: resolved