Thanks everyone for the responses. There are good ideas but I think I am struck with getting the Editors to put the class themselves.
On Mar 17, 6:59 am, "Simon Lewis, UK" <[email protected]> wrote: > Hi Jamie. A very quick solution is to wrap a named div around your > text placeholder, and then tell your stylesheet to apply a particular > style to any <table> that appears within that div. Obviously, the > styling will not be applied within the text editor itself, but as soon > as the user saves the text, they'll then see the styled table(s). The > only downside to this is that if ever you *don't* want a table in that > placeholder to be styled, your editor will have to manually apply a > class to the table to override the generic style. > > See example here for pasting into your template: > > <style> > .myText table { > background:yellow; > border:1px solid black; > } > </style> > > <div class="myText"> > <%txt_myText%> > </div> > > On Mar 16, 10:58 pm, JJB <[email protected]> wrote: > > > Is it possible to automatically assign CSS class to a <table> tag in a > > Text Placeholder? Or do the Content Editor need to go in Source Code > > of the Text Editor? > > > I am using CMS 7.5 and the default Text Editor. > > > thanks, > > Jamie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
