0 votes
by (880 points)

How would i remove large empty spaces between paragraphs? iM using the <p></p> for my paragraphs in text

#overflowTest {
    background: #4CAF50;
    color: white;
    padding: 5px;
    width: 900px;
    height: 650px;	
    overflow: auto;
    border: 1px solid #ccc;
}
p {
    text-indent: 40px;
}

but i get things like

 

 

3 or 4 line spaces till the next paragraph, i would like just one line of nothing between each paragraph.

Also how do i show pictures or images on the forum?

 

 

1 Answer

0 votes
by (159k points)
selected by
 
Best answer

Web-browsers generally assign a default value to the CSS margin-top and margin-bottom properties of all HTML p elements,

You can use CSS like the following within you project's Story Stylesheet area to change those defaults.

p {
	margin-top: 16px;
	margin-bottom: 16px;
}
by (44.7k points)

See also the answers given to you in replies to your earlier question:

https://twinery.org/questions/26586/button-macro

by (880 points)
Thanks, i totally forgot about the margins
...