Discussions
Rich Text Inline Styles - Top Tip!
I'm using Rich Text boxes for a large number of custom description fields - but found it very annoying that it bypassed any CSS I was using on the page by applying it's own inline styles.
So, I'm now using the following in a stylesheet loaded on every page:
/* override inline styles */
span[style^=""]{
color: inherit !important;
font-size: inherit !important;
font-family: inherit !important;
}
This nicely removes all the inline style and uses the preceding style - so you can now wrap each element in it's own <div> :-)
Not tried it on every browser, but it seems to work on most OK.