views:

38

answers:

1

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

+1  A: 

Define a CssClass for your ItemStyle and use CSS to style the line.

TheGeekYouNeed
thank you for your help
AspOnMyNet