Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with header text alignment

 
vijay jamadade
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers,

I have a display table. I am using css class to set the alignment of the text in header and rows. Problem is data rows are aligned properly with



it works fine with the data rows but does not work with the header cells. Please tell me how to align the header cells text to middle? Also tell me how can I have the columns with variable widths in display table?

Thanks in advance.
 
vijay jamadade
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey friends,

I solved that problem.Actually it was due to white-space:nowrap;
I just commented and thats all.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic