Hello,

It is necessary to display the text to the right of the checkbox and it is displayed, but the problem is that the text is long and does not fit into one line, ntrcn is transferred to another line, but checkboxes go up http://www.codeply.com/go/ MWSsqNXrou

I have prescribed a break-word for a class with a paragraph definition:

p.notice_p{ text-align: left; text-indent: 0px; margin-bottom: 5px; font-size: 14px; word-wrap: break-word; border: 1px dotted navy; } 

but it did not help. What is the right way then ?

Thank!

    1 answer 1

    You should specify the width of the .hostel2_data_block block or for paragraphs (p.notice_p) in which the text to be transferred is displayed. Thus, when the text does not fit in the paragraph, it will be moved to the next line. Now the transfer does not work, since the width of the paragraphs is unlimited.