udeme samuel udeme samuel - 4 months ago 6
HTML Question

The rendered text from the database always does not move to the next line,


Written with StackEdit.


Hi, the rendered text from the database always does not move to the next line, it always stays in just one line whether i use
<h>
tags or
<p>
tags the same thing occurs, occasionally in all my apps. This what i mean, by the way i use foundation 5 and laravel.

can you see the text rndering in one line

ANOTHER EXAMPLE

another example

This is my code

<div class="small-12 medium-12 large-9 columns">
<h5 class="text-left grey-text montserrat-font uppercase">style description</h5>
<hr>
<div class="text-con">
<h6 class="grey-text montserrat-font testing">
{{$style->style_description}}
</h6>
</div>
</div>

Answer

Considering that your testing class have the required CSS. Add following rules to it.

.testing {
   word-wrap:break-word;
}
Comments