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
Be sure the code you insert looks like this.
In my css, the p tag is the first and is looking in this manner:
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.
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.


I don`t get it. What does it do again ? baga pe romana :)
Just add a new line to your .css file:
p {text-indent: 2em;}
If you have already p tag defined, add only the new attribute into the p tag:
text-indent: 2em;
Cum ai facut reclama aia si ai pus-o pe blogul http://www.outblu.com/ ? Reclama la kefski ?
e putin mai complex, nu iti pot explica acum dar daca esti cu adevarat interesat putem face un chat pe YM pe tema asta.
hai ca vb pe messenger .. lasa-mi un mail cu adresa ta pe blog.rohanmedia.com si povestim daca chiar ai timp sa ma ajuti
Salut, imi place blogul tau si tema pe care o aborda. Design-ul este unul simplu de la care sa nu te doara capul. Se pare ca ne-am apucat de blogareala cam in acelasi timp ;)). Nu prea am ce sa critic, imi place
your blog came to my attention by word-of-mouth, and I was skeptical at first. So I visit your blog… And i think that this is really a nice blog!
I really liked your blog!
Normally a text would consist at multiple paragraphs, so indent will work on all. How about using first child attribute? p:first-child {text-indent:2em;}
Good catch Erik :)
Still I get text-indent more likely to use that working with first/last-child pseudo classes.