Quote:
Originally Posted by JSWolf
I prefer using 0 as a margin actually. So 0%, 0em, 0pt, 0px, etc. are all 0.
|
aïe.
Quote:
Why do you think em is good for an indent instead of a fixed measurement?
|
because the indent should increase, if the text size increases ; an indent which is a few pixels large, at font-size extra small, might look okay ; but if you increase the font size and the indent stays tiny it won't show as much as an indent. it's the same reason that line-spacing should be proportional. look at these examples :
size 1
...i'm using 3 points (about the width of the letter m, so 1em) to simulate a proportional indent here, to show what i mean. the points will get larger when i increase the font size. (however, the forum software won't automatically increase the line spacing. so at size 1 this text will be small but pretty readable, whereas at size 6 it will be really difficult.)
size 6
...i'm using 3 points to simulate a proportional indent here, to show what i mean. the points will get larger when i increase the font size. however, the forum software won't automatically increase the line spacing. so at size 1 this text will be small but pretty readable, whereas at size 6 it will be really difficult.
small indent :
.here i've decreased the indent to one point, which is less than 1em but probably close to the width of 3 points at size small. you can see the indent is not as visible.
edit : actually, 1 point at size 6 is still larger than 3 points at size 1, so my demonstration is not as effective as it could be. but i think you can still get the idea of what i meant.