Do not use Inline Styles – Successful Item Approval on CodeCanyon

Do not use Inline Styles

Welcome to Part 2 of the series CodeCanyon Successful Item Approval Checklist. In Part 1, we discussed “Do not use CDN URLs“. In the second part, we are going to discuss another point that may lead to the rejection of the item.

Do not use Inline Styles

Too many Inline CSS is not a good idea and the Envato Review Team strictly considers it as a bad practice. If you have used too much inline CSS then there are high chances that your item may get rejected.

There are lot of reasons to do not use Inline CSS. Like,

  1. It is difficult to maintain
  2. It can create duplicate code
  3. It can slow down the page loading as everytime someone visits the page browser has to load that css instead of loading it from cache of external css
  4. It can have lot of browser compatibility issues as well 

Instead, you should make a separate stylesheet file and include that file in your project.

Hope this might help you to save some rejections 🙂

Powered by