Reply to Styling <p>

Your name:

Reply:


Posted by Marc on 09/01/06 11:07

Hi gurus,

Sorry I haven't been active around here over the last few months, I've
been rushed off my feet with work... which I suppose is a good thing :D

Anyway, my question is this: what is the default padding and margin on
<p>? Does it vary between browsers?

The reason I ask, is because I've been given a design to develop the PHP
for and part of the CSS is:

p {
margin: 0;
padding: 0;
}

As far as I can see, he's done this for styling reasons for parts other
than the main text, but it of course means in bodies of text, paragraphs
run together. I could just remove the CSS above, but that breaks other
parts so I was wondering if I could just do...

#content p {
margin: something;
padding: something;
}

.... to put the main body of text back to the normal margin and padding...?

Any suggestions would be appreciated.

Thanks!

Marc

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация