How does the output with the embedded CSS looks like? Is the CSS an inline style inside the HTML?
On 4 Apr., 01:06, Tiffany <[email protected]> wrote: > btw I am now on v9 and I am not sure if it works this way or if > something similar in v7... > > On Apr 3, 11:04 am, Tiffany <[email protected]> wrote: > > > JJB - > > Heres what I did -> > > SmartTree -> Admin Content Classes -> expand your content class -> > > expand Content Elements -> click on text element -> in actions menu > > "Assign fixed style sheets" - put your style in there -> click OK > > > Now when users open up the table wizard the can change the class of > > the table to one you stuck in here. > > > This is v9 using telerick rad editor... > > > On Mar 17, 6:50 pm, markus giesen <[email protected]> wrote: > > > > that combined with my suggestion is great. > > > PLUS you can do this:> <div <%opt_myclass%>> > > > > <%txt_myText%> > > > > </div> > > > > Where <%opt_myclass%> is an option list containing several values for > > > several table styles > > > e.g. > > > Value 1 - class="myText" > > > Value 2 - class="myTextWithGreenBackground" > > > Value 3 - class="myTextWithBiggerFont" > > > Value 4 - > > > class="myTextWithCrazyFlickeringWhateverWebTwoOhooFunctionality" > > > ... whatever > > > > On 17 Mrz., 20:59, "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 -~----------~----~----~----~------~----~------~--~---
