is ugly, I think.
views:
310answers:
6
+5
A:
Margin and/or Padding. (css properties), like so:
<p style='padding-left : 10px'>Hello</p>
(It's worth noting that it's generally considered bad-practice to put an inline style like that; you typically declare a selector in an external css file and set the class/whatever appropriately.)
Noon Silk
2010-01-05 11:25:44
+1
A:
You should use margin or padding properties with your elements to adjust whitespace.
kgiannakakis
2010-01-05 11:26:08
+1
A:
In CSS, Add
pre{
white-space: pre-wrap;
white-space: -moz-pre-wrap !important;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
}
<pre> is not ugly anymore </pre>
S.Mark
2010-01-05 11:33:49
+1
A:
 
is alternative but it's also ugly
Beautiful solution is available in css.
If u need space at start of paragraph the u can use
p {text-indent: 10px; }
If u need spacing between word use like this
H2 { word-spacing: 3pt }
see here for more options http://www.hypergurl.com/csstutorial7.html
You can give these style to html by inline, external and from in-page(<head>....</head>
)
metal-gear-solid
2010-01-05 11:38:04