List Functionality within Table

2 posts, 1 answers
  1. Alex
    Alex avatar
    31 posts
    Member since:
    Jun 2009

    Posted 11 Mar 2010 Link to this post

         Currently I am using the RadEditor ASP.NET AJAX 2010 Q1 version. I have a RadEditor and the business is dictating that they would like to have indents like on some product pages (example)

    CPU                                 2.3GHz
    RAM                                 4G
    Hard Disk                         60GB

         Which the table functionality does. The problem is when you have to have bullet points or numbered lists within one of the columns, the spacing looks funky because when it puts the <ul> or <ol> tag in, it creates an indent. I have found a way around this by manually removing the <ul> or <ol> tag and I get a lined up version of a bullet or number list. Is there a control on the tool bar which will insert a non-indented version of either list?
         If the answer is no, then is there a way to detect whether the cursor is within a table and they click one of the list buttons to remove either the <ul> or <ol> that is being created? I just need the text to line up properly so if there is another way, please let me know, thanks!
  2. Answer
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 11 Mar 2010 Link to this post

    The RadEditor is not creating indents when it inserts ol or ul elements, these elements are always indented in browsers. If you want to remove the indentation just add a style to css file used by the editor to remove the margin and padding used on ol or ul elements.

    Like so:

    ol, ul

    This help topic should be of use, if you decide to go that route:

    I hope that helps.
Back to Top