Doesn't deal with CSS

Apr 6, 2010 at 6:55 PM

I like the looks and features of the new CKeditor but it does not seem to deal with inline CSS at all.  This is what part of my styles look like:

 

<!--{cke_protected}{C}%3C!%2D%2D%20body%20%7B%20text-align%3A%20center%3B%20margin%3A%200px%3B%20padding%3A%200px%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20%7D%20%23header%7B%20padding-top%3A%2015px%3B%20background%3A%20url('Header.gif')%20no-repeat%20center%20bottom%3B%20height%3A%20247px%3B%20width%3A680px%3B%20%7D%20%23containerCROI%7B%20width%3A%20680px%3B%20height%3A2600px%3B%20margin-right%3Aauto%3B%20margin-left%3Aauto%3B%20%7D%20.contentCROI%7Bheight%3A1625px%3B%20padding%3A%205px%200px%205px%3B%20border%3A%202px%20solid%20%23c9203a%3B%20margin-bottom%3A%2015px%3B%20width%3A680px%3B%20*width%3A%20680px%3B%20text-align%3A%20left%3B%20fon

Apr 6, 2010 at 9:18 PM

is this what u r talking about?

http://stackoverflow.com/questions/2321635/ckeditor-protects-me-from-inline-stylesheets

inline css stylesheets do are not w3c compliant anyway. use admin>site settings & add ur css to the portals.css file.

Apr 6, 2010 at 9:25 PM

Yup, that's it.  At least it's a known bug.

I only use css (inline or otherwise) on a few highly formatted text/html pages on my site.  Do you still think I should put the styles in the portals.css file?

Apr 6, 2010 at 9:39 PM

personally, i dont even include the portal.css file in any of my dnn sites as it slows them down, eveything goes in skin.css so it is easier to update in the future if need be.

u can still use ur dodgy inline css if u want. either just dont use comments in it or download & install the patch from the link i posted for u ;)