1 reply [Last post]
Johnwill
Johnwill's picture
Offline
newbie
Last seen: 9 years 26 weeks ago
Timezone: GMT+8
Joined: 2013-09-27
Posts: 1
Points: 2

Hello,

Sometimes the spacing between my paragraphs looks wrong.

What's the CSS way to control this space individually (two paragraphs) and globally (all paragraphs)

Many thanks!

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 2 years 4 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Spacing is controlled by the

Spacing is controlled by the margin property. Most (all?) browsers default to top and bottom margins of 1em.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.