Bit of a noob here, but I basically want text to automatically indent when it's wrapped. So instead of:
Peter piper picked a peck
of pickled peppers.
It would be:
Peter piper picked a peck
of pickled peppers.
This is what I've tried:
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 this, I add the span class="profile"
tag around the entire text, but the problem is that I want it to "reset" after each line break. Is there a way to make it do that?
Thanks for any help!
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 this, I add the span="profile" tag around the entire text, but the problem is that I want it to "reset" after each line break. Is there a way to make it do that? – Tertialtext-align
andtext-indent
), but I just edited your post to make it a little clearer so someone else might be able to help better. – Mocambique