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

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -