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
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
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)