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
474,260
Messages
2,571,038
Members
48,768
Latest member
first4landlord

Latest Threads

Top