Unordered lists not displayed correctly

3 posts, 0 answers
  1. R C
    R C avatar
    2 posts
    Member since:
    Jul 2009

    Posted 02 Jul 2009 Link to this post

    Hello friends,
    How do I get an unordered list to display correctly in the control?
    I want it to look like this:
    • this
    • is an 
    • unordered list

    But it looks like this:
    is an
    unordered list

    My html is valid and other html (such as bold, italics, colours and links) all works fine.


  2. Valentin.Stoychev
    Valentin.Stoychev avatar
    2198 posts

    Posted 03 Jul 2009 Link to this post

    Hello R C,

    We can't reproduce the provlem .Are you by any chance having any global css that can possible alter the style of the list items?

    If you try on a blank Silverlight application with the HtmlPlaceholder only in it - are you still experiencing the problem? Is this consistent across different browsers?

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft R3 2016 release webinar banner
  4. R C
    R C avatar
    2 posts
    Member since:
    Jul 2009

    Posted 03 Jul 2009 Link to this post

    Hi Valentin,
    Thanks for your response. I realised that we're using a reset.css stylesheet that basically wipes out all default styles.

    To overcome this I had to create a style in my stylesheet then add a class attribute to the RadHtmlPlaceholder (as per this post) and that seems to have fixed it.

    The only issue I came across was that the RadHtmlPlaceholder seems to wrap the content in 2 divs, so to keep IE happy I have to apply the class to the inner div because if I add to the outer div, the <ul> doesn't pick up the style definition (although this works fine in FF)

Back to Top