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

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top