cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Surveyor

Hanging Indents: code-snippet

I'd posted this in the old Community and it seemed some people liked/used it, so here it is again - how to make hanging indents!

<p style="margin-left: 20px; text-indent: -20px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed placerat accumsan viverra.</p>

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed placerat accumsan viverra. Nam faucibus suscipit nunc vitae iaculis. Morbi in pretium leo. Integer fermentum at tortor et dapibus. Aliquam quam magna, mollis sed leo at, pretium auctor nulla. Vestibulum ac est eu mi aliquet ultricies. Phasellus condimentum tristique mi, eu aliquet metus tincidunt quis. Duis egestas blandit nunc, eu lacinia ex cursus ut. Vivamus rhoncus ipsum orci, in gravida dui pretium id. Vivamus a justo consequat, laoreet lectus ut, scelerisque lacus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque et augue eget nisl semper volutpat sed ut urna. Aliquam id gravida felis.

Tags (1)
13 Replies
Highlighted

Hee hee, isn't it terrible being part of such a sharing community, stefaniesanders :smileylaugh: And it is a spiffy screenshot. Leave it up or take it down, so long as people find the code they want, it's all good. --/g

Highlighted
Community Team
Community Team

You scooped me, G.Petruzella@mcla.edu​! I just posted a document of your snippet (although I did give you credit), and now I see that you posted it already; I'm going to slink away now and delete mine. Smiley Happy

But I hate to see my screenshot go to waste:

hanging-indent.png

Highlighted
Community Coach
Community Coach

Thanks for providing this, Gerol!  Very helpful!