Click here to Skip to main content
15,891,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can I create a cell that has text with 1 line

This happens when the text contains two or more words
Sample
Sample


The output must be
Sample Sample


I try using div but same happend.
Posted

You could set the cell to not wrap with css as: white-space: nowrap;
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 14-Feb-11 18:36pm    
This is one is good,
--SA
Have a look at the nowrap [^]attribute
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900