Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HorizontalAlign="Justify" is acting weird

Status
Not open for further replies.

LouisC4

Programmer
Jul 26, 2003
54
US
Hello, I have a ViewGrid where one of the columns is written as:

Code:
<asp:BoundField DataField="Ad" HeaderText="Description">
<ItemStyle HorizontalAlign="Justify" Width="410px"/></asp:BoundField>

What is weird is that the justification only happens on the odd rows and the even rows are left justified. I am using SQL Server 2000.

What could be wrong?

Thanks,

Louis
 
Have you got an AlternatingItemStyle, have you tried setting this also?

Rhys
The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense Edsgar Dijkstra

Church of the Flying Spaghetti Monster
 
Yes I do have an AlternatingItemStyle and it was set to left align.

Thanks for your help,

Louis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top