DataList HorizontalAlign not XHTML compliant

A

Amil Hanish

When I use a DataList control and set the HorizontalAlign to center, .NET
generates:

align="Center"

Since this is capitalized, it is not xhtml compliant. I can get around it
by adding the attribute manually in code-behind, but bummer. Does anyone
know a way around this in aspx?

Amil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top