Wrap text in Gridview [modified]
-
hi all, i am biding the data to hyper link but i am not getting how to wrap the text but by using css i able to wrap the text in IE but not working in Mozilla Please Help me. .Grid { table-layout: fixed; } .GridColumn { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; word-wrap: break-word; /* Internet Explorer 5.5+ */ resizable: false; } Thanks And Regards, Guru -- modified at 7:55 Friday 26th October, 2007
-
hi all, i am biding the data to hyper link but i am not getting how to wrap the text but by using css i able to wrap the text in IE but not working in Mozilla Please Help me. .Grid { table-layout: fixed; } .GridColumn { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; word-wrap: break-word; /* Internet Explorer 5.5+ */ resizable: false; } Thanks And Regards, Guru -- modified at 7:55 Friday 26th October, 2007
If you are using TD then the code will be written like this, '<%#Eval()%>'
Shanmugam R