css - word break a long sentence by word -
"subject 10% service charge per room per night. cancellation or amendments can made 2 days prior arrival. otherwise, 1 nights’ room rate levied. first night guarantee required @ time of reservation , 1 night room rental charged credit card provided in event of no show, late cancellation or amendment. if dispute arises, hotel rainbow hong kong reserves final decision."
i use css properties "word-break:break-all", did not well. there still word being break up.
** need 'word-wrap' property **
use one
word-wrap:break-word;
Comments
Post a Comment