View Single Post
Old 07-02-2013, 01:24 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,682
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The whitespace in the html code (that makes it readable) has absolutely nothing to do with with whitespace being rendered between paragraphs when viewing/reading (unless in the unlikely event you ARE using "white-space:pre-wrap" somewhere).

Margin between paragraphs is default. If you don't want it, you need to use styling (external, internal or inline) to tell it you don't want that default margin.

Create a stylesheet, link it to your html file(s) and add an entry that looks like:
Code:
p {
  margin: 0;
  text-indent: 1.2em;
}
That should get you started.

Last edited by DiapDealer; 07-02-2013 at 01:36 PM.
DiapDealer is offline   Reply With Quote