Board Thread:New Features/@comment-2240397-20161117114915/@comment-24473195-20161118083612

Cqm wrote: So in essence, PI now supports inline styling [on mobile]? Whatever happened to inline styling being bad? Assuming I've understood this correctly, this is also the only way to get styles into mobile as site CSS is still stripped away. Inline styling is bad, but there are degrees of badness. For instance using inline styling for changing width, height and other layout causes problems. Changing something as simple as colors will never be as bad as the other more extensive changes because one never really knows if the device will work properly with them.

For example, some feature phones may not display content with color yet still have access to the internet (unlikely). So the choice of color in that scenario is important as the user may not be able to read anything at all, and in this scenario the inline styling is still bad. Although it is likely that the device would strip or overrite the inline styling anyway.

> Assuming I've understood this correctly, this is also the only way to get styles into mobile as site CSS is still stripped away.

Indeed, that's also my understanding, unless they change their minds and inject this into the style sheet. There's also a chance that the OP used inline styling just to show an example of how it will work, as lots of users are not be familiar with site-wide css, and many infoboxes depend on inline styling.