CMS adds whitespace to html. Ruining css.

Posted by allan.luchenitser on 28-Jan-2019 13:56

Is there a way to prevent Sitefinity from adding newlines to  markup? I have a css style that relies on the css inline-block display property. Inline-block includes whitepsace / newlines between tags as part of a parent element's width, thus destroying my style! 

HTML mode (as opposed to Design mode) doesn't do the trick. After you have saved, Sitefinity has re-introduced the newlines.

Any help is appreciated. 

All Replies

This thread is closed