Newbiw ?s: XHTML, code compaction, table editing

  •  06-16-2004, 12:22 PM

    Newbiw ?s: XHTML, code compaction, table editing

    OK, I'm looking through the documentation and it's making  a bit of sense. We've implemented CuteEditor and I have 3 initial questions:

     
    1) How do I get it to write XHTML instead of html
     
    2) How do I stop it from compacting source (ie, I want it to preserve whitespace).
     
    3) Is there any way to either strip and/or set the width attribute of tables?
     
    Regarding #1, the documentation lists an XHTML property:
    Public ReadOnly Property XHTML As String
     
    Does just adding that property then set the editor to use/edit xhtml instead?
     
    Regarding #2, we're finding that when ever we save text, CuteEdit strips out all of the whitespace...making it a pain to edit the source code later.
     
    And, for #3, we really like the STRIP styles tool...one of the main reasons we purchased this. However, we're finding a problem with tables. People are pasting in legacy tables with widths set in pixels which completely breaks our fluid-layout web site...especially the larger tables. Is there  away to create a function that would strip all width attributes in a table, or, even better, allow for the modification of table widths in cuteeditor itself?
     
     
View Complete Thread