4 replies [Last post]
designpunk
Offline
newbie
Last seen: 13 years 46 weeks ago
Joined: 2007-01-12
Posts: 2
Points: 0

Hi, the space between paragraphs is huge on my site, i have browsed the web and it seems to differ. Is there any way in CSS to define how much white space is between each paragraph? Using to
's works but is a poor way or so I am told.

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 2 years 7 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

Well you could use top and

Well you could use top and or bottom padding or margin on your paragraph tags no?

designpunk
Offline
newbie
Last seen: 13 years 46 weeks ago
Joined: 2007-01-12
Posts: 2
Points: 0

Thanks, I am a CSS noob so

Thanks, I am a CSS noob so it wasn't obvious but now I have a margin-top:8px; which works a charm

Thanks

rmfred
rmfred's picture
Offline
Elder
Rock Springs, WY
Last seen: 2 years 7 weeks ago
Rock Springs, WY
Timezone: GMT-6
Joined: 2004-01-31
Posts: 1073
Points: 31

Okie Dokie... well done

Okie Dokie... well done

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 36 weeks 2 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

designpunk wrote:Thanks, I

designpunk wrote:
Thanks, I am a CSS noob so it wasn't obvious but now I have a margin-top:8px; which works a charm

Thanks

You've learnt a useful piece of information - browsers already have default css applied to elements, and in a lot of cases zeroing them gives you greater positioning control.

Verschwindende wrote:
  • CSS doesn't make pies