Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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.
0