Hi Guys,
I'm having a problem displaying certain blog entries on my website (well, they display just fine but don't validate). I'm using a DataList control to display said entries.
THe problem arises when I use certain features within a bbcode parser, namely the code and list features, which use "blockquote" and "ul", respectively. Because the data list uses a "span" element to display the text, said elements are not allowed (doctype is XHTML 1.0 Transitional).
I guess my question is, is there any way I can change this behavior in the DataList, or do I need to create some type of user control that will spit out better HTML?
I've tried to make myself clear, but I am not very web-savvy, so please let me know if I missed anything.
Thanks in advance for any help,
Alex
[small]----signature below----[/small]
I'm pushing an elephant up the stairs
My Crummy Web Page
I'm having a problem displaying certain blog entries on my website (well, they display just fine but don't validate). I'm using a DataList control to display said entries.
THe problem arises when I use certain features within a bbcode parser, namely the code and list features, which use "blockquote" and "ul", respectively. Because the data list uses a "span" element to display the text, said elements are not allowed (doctype is XHTML 1.0 Transitional).
I guess my question is, is there any way I can change this behavior in the DataList, or do I need to create some type of user control that will spit out better HTML?
I've tried to make myself clear, but I am not very web-savvy, so please let me know if I missed anything.
Thanks in advance for any help,
Alex
[small]----signature below----[/small]
I'm pushing an elephant up the stairs
My Crummy Web Page