CSS/HTML.How do You change the position of a paragraph inside a block?

Bla Bla Y

New member
What if in CSS/. You want the paragraph to look like:
the fox jumped
over the roof
in the house.
Instead of : the fox jumped over the roof in the house.

How do You do that?I have tried padding ..margin and positioning but that only increases the space of the paragraph from exterior border.
I cannot change the body. I am not allowed to change the body.It is supposed to be done in the embedded style.
Cannot use br unless its an inside the body.
 
<div style="width: 30px;">
the-fox-jumped over-the-roof in-the-house.
</div>

Replace dashes with non-breaking spaces (ampersand-nbsp;).
Tinker with the width number until you get what you want.
 
Back
Top