This is a migrated thread and some comments may be shown as answers.

Unordered lists not displayed correctly

2 Answers 50 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
R C
Top achievements
Rank 1
R C asked on 02 Jul 2009, 04:59 PM
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:
this
is an
unordered list

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

Cheers

2 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 03 Jul 2009, 11:36 AM
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,
Valentin.Stoychev
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.
0
R C
Top achievements
Rank 1
answered on 03 Jul 2009, 01:42 PM
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)

Cheers
Tags
HTMLPlaceHolder
Asked by
R C
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
R C
Top achievements
Rank 1
Share this question
or