View Single Post
Old 08-11-2009, 02:55 PM   #8
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,158
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by Nate the great View Post
Oops. You caught a typo. I wrote margin_bottom; it should read margin-bottom.
I'm a bit confused, in almost all css codes I've looked at you it seems like you're supposed to end properties with a colon, but on this one code you end with a period?

is the body selector just different from other selectors? Or is there more going on?

And is

body {margin-left:0;
margin-right:0;
margin-top:0;
margin_bottom.0;}

more correct than

p {margin-top: 0pt; margin-bottom: 0pt; padding: 0pt;
text-indent: 15pt;}

Last edited by Amalthia; 08-11-2009 at 02:59 PM.
Amalthia is offline   Reply With Quote