Is there a way to force Visual Studio to render ItemStyle’s HorizontalAlign as a CSS rule and not ht
Posted
by AspOnMyNet
on Stack Overflow
See other posts from Stack Overflow
or by AspOnMyNet
Published on 2010-03-29T18:21:14Z
Indexed on
2010/03/29
18:23 UTC
Read the original article
Hit count: 346
1) If I set HorizontalAlign
property inside GridView’s ItemStyle
tag:
<ItemStyle HorizontalAlign="Left" />
then Visual Studion will render this property as <td align=”center”>
a) Is there a way to tell Visual Studio to instead render HorizonatalAlign
property as a style rule :
<td style=”text-align:center;” ... >
thanx
© Stack Overflow or respective owner