0 votes
asked 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
answered by (120k 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;
}
commented by (18.5k points)

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

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

commented by (880 points)
Thanks, i totally forgot about the margins
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...