I'm still learning the ropes here, but I'm looking to have text automatically indent when it's wrapped. Instead of this:
Peter piper picked a peck
of pickled peppers.
It should look like this:
Peter piper picked a peck
of pickled peppers.
This is what I've attempted so far:
span.profile{ display:block; text-indent: -35px; /*this pulls the first line to the left*/ padding-left:35px; /*this pushes the paragraph to the right*/ padding-right:0px; text-align:justify; }
After implementing this, I wrap the entire text with span class="profile"
, but the issue is that I want it to "reset" after each line break. Is there a way to achieve that?
Appreciate any assistance!