Remove Double Spacing
-
I was wondering if anyone could give me the Css to remove the double spacing from my blog… I want the spacing to be normal.
-
I’m assuming you have the CSS upgrade. It isn’t actually double spacing, just an overly generous line height value. Add the following to your CSS and then adjust the “line-height” value. Originally it was at 28px. 20px seems about right, but you can adjust it as you see fit.
#left p {
line-height: 20px;
}Also, if you are just starting out with CSS here at wordpress.COM, read this blog post by devblog. If you do it the way he mentions, you will have far less headaches.
http://csswiz.wordpress.com/2009/10/15/if-you-have-the-wp-com-css-upgrade/
-
Aarrrgh! I forgot the backticks
#left p { line-height: 20px; }Copy the above, not the stuff from my first post.
-
-
OK, then you will not be able to change the spacing in the CSS.
You could do it via inline CSS such as the below. You would put the first line at the beginning of every post, and then put an ending div tag at the end of each post.
`<div style=”line-height:20px;”>All your text and paragraphs here</div>’
-
Shoot, messed up the backticks
<div style="line-height:20px;">All your text and paragraphs here</div>
- The topic ‘Remove Double Spacing’ is closed to new replies.