CE6.6 - Adding a class via the css class dropdown to a td?

Last post 02-21-2010, 8:35 AM by mike.chambers. 4 replies.
Sort Posts: Previous Next
  •  02-18-2010, 4:09 AM 58776

    CE6.6 - Adding a class via the css class dropdown to a td?

    We can't seem to ne able to add a class to a <td>
     
    we'd like to end up with <td class="XXX"><p>lorem</p></td>
     
    but whatever selection process we try we end up with
     
    <td><p><span class="XXX">lorem</span></p></td>
     
    is there any way to avoid these span classes other than direct manipulation in the html?
     
    ps ce6.6
     
     
  •  02-18-2010, 9:04 AM 58801 in reply to 58776

    Re: CE6.6 - Adding a class via the css class dropdown to a td?

    looks like the exact same issue as http://www.cutesoft.net/forums/thread/55105.aspx from last august.
     
    was there any solution at that time?
  •  02-20-2010, 11:13 PM 58867 in reply to 58776

    Re: CE6.6 - Adding a class via the css class dropdown to a td?


    Click within the to window and in the able cell you want to edit.
     
    Then left click on the <td> tag displayed in the status bar at the bottom of the editor.
     
    In the resulting pop up window click the word Properties.
     
    Within the resulting Properties window enter the style name into the ID: or/and Class: fields and click OK.
     
    Naming the class will after a short delay display the tag as <td.name> in the status bar.
     
    These naming concepts also apply to divs and other elements.

  •  02-20-2010, 11:14 PM 58868 in reply to 58776

    Re: CE6.6 - Adding a class via the css class dropdown to a td?


    Click within the table cell you want to edit.
     
    Then left click on the <td> tag displayed in the status bar at the bottom of the editor.
     
    In the resulting pop up window click the word Properties.
     
    Within the resulting Properties window enter the style name into the ID: or/and Class: fields and click OK.
     
    Naming the class will after a short delay display the tag as <td.name> in the status bar.
     
    These naming concepts also apply to divs and other elements.

  •  02-21-2010, 8:35 AM 58869 in reply to 58868

    Re: CE6.6 - Adding a class via the css class dropdown to a td?

    Thanks for that, however, the properties pane soesn't give the end user the drop down list of styles with a graphical representation of the style. So isn't very user friendly to expect our clients to remeber class names off by heart.
     
    Also I understand about the inline span... but if the whole of an element is selected then why not apply the style to the blocck rather than add an unrequired span.
     
    or conversly do as you say select the tag in the status footer and then expect using the class selector drop down that it would apply to the tag you just selected????
     
    having moved from 5.3 to 6.6, the functionality we are after existed in the previous version (eg span if only part of an element selected, class on the block level element if all of that element selected).... so not sure why it has been removed in the later version?
     
    Hence we were wondering if it was an oversite?
View as RSS news feed in XML