View Single Post
Old 08-11-2009, 04:02 PM   #13
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,156
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by Jellby View Post
Property name and value must be separated by a colon (consider it like a = sign). After the value, a semicolon is needed; it is optional just before the closing brace, but it's safest to always add it.



0 and 0pt are the same, when the value is 0 you don't need to specify the units. body and p are different elements (p is inside body), so modifying them can give different results. You probably want both things, I'd use:

Code:
body { margin: 0; }
p { margin: 0; padding: 0; text-indent: (whatever); }
I'll try that out and see what happens.

Thanks!
Amalthia is offline   Reply With Quote