1 reply [Last post]
Johnwill
Johnwill's picture
Offline
newbie
Last seen: 6 years 46 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: 14 hours 50 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9761
Points: 3843

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.