We have recently done this for one of our clients.
We have a custom "style" that is given as an optyion in the text-
editor dropdown. To assign it to the table, they highlight the table,
check the <div> check box, and then selct that style from the
dropdown. This adds a div around the table with the class name that
they chose. In our main CSS files we style this table off the div:
div.styledTable table {
etc.
}
We were able to even change the JavaScript to add the "zebrastripe" by
searching the dom for that div and then altering the tr tags within
it.
Please note: I have only done this with the RedDot Text editor in IE,
not the FCKEditor.
Hope that helps!!
Ashley
On Sep 25, 8:26 pm, BjP <[EMAIL PROTECTED]> wrote:
> Thanks Chris,
>
> I guess setting the id of the table is the big one. If you can do
> that then you will get the styles picked up. But trying to teach
> editors how do to this could prove to be tricky! ;-)
>
> Cheers,
> BjP
>
> On Sep 24, 10:47 pm, Chris Nixon <[EMAIL PROTECTED]> wrote:
>
>
>
> > The tables are certainly a pretty frustrating object to deal with. I would
> > certainly suggest using the FCK editor, you can at least see the borders to
> > manipulate them when the width is set to 0.
>
> > We then use a site level css to style them, and add a zebrastripe js file
> > to the mix for better readability. The catch with this is that an
> > predefined ID has to be set to the table.
>
> > I find typically that if I create the table and assign the ID, the editors
> > will just add and subtract items from it, usually never creating a new
> > table.
>
> > Chris Nixon
> > Director of Communication Technology Services
> > University Relations - University of Arkansas
> > 800 Hotz Hall - Fayetteville, AR 72701
> > 479-575-5629
>
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
> > Of BjP
> > Sent: Tuesday, September 23, 2008 7:00 PM
> > To: RedDot CMS Users
> > Subject: Using Tables in RedDot
>
> > Hello,
>
> > I would like to hear of anyone who has had success in the creation and
> > styling of tables within the text editor of RedDot.
>
> > I know traditionally the code that the text editor spits out is far
> > from pretty but would like to hear of how you styled it effectively in
> > a way that would work in the published site. Did you use the
> > stylesheet assigned to the editor? Did you just use styles at the
> > site level instead?
>
> > I have the requirement to have a generic end content template that has
> > the ability to have good looking table results for featuring listing
> > such as sport league tables, timetables, programming info and instead
> > of creating some sort of dynamic reddot creation of tables use the
> > features already in the text editor product.
>
> > Cheers,
> > BjP- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---