|
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
Navigation:
[Reply to this message]
|