How to Indent First Line of Blog Paragraphs

I’ve been running a while about this thing of indenting automatically the first line of the paragraph. Finally I solved this issue creating a new attribute for the <p> tag (paragraph tag). Is pretty simple to do this.

Go to your css file, open it in notepad and add

text-indent: 2em;

Be sure the code you insert looks like this.

In my css, the p tag is the first and is looking in this manner:

p {text-indent: 2em;}

The only thing remain is that you need to press enter twice to separate one paragraph from other in order to have the first line with indent.

Tags : , , ,

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

9 Comments

Leave Comment