G
Gene Wirchenko
Dear HTMLers:
I am working from an older text which, apart from its age, is
pretty good. It does have some oddities with regard to CSS though.
What does this mean?
#para2 {margin-left: 50; ...
Note that there are no units specified for margin-left. It does not
seem to do anything on my system (IE 9 under Windows 7). When I use a
value such as
1cm
it works fine.
Some other properties also do not have units, but these seem to
work (i.e. do something) without units, such a border-left-width.
A pointer would be helpful.
Sincerely,
Gene Wirchenko
I am working from an older text which, apart from its age, is
pretty good. It does have some oddities with regard to CSS though.
What does this mean?
#para2 {margin-left: 50; ...
Note that there are no units specified for margin-left. It does not
seem to do anything on my system (IE 9 under Windows 7). When I use a
value such as
1cm
it works fine.
Some other properties also do not have units, but these seem to
work (i.e. do something) without units, such a border-left-width.
A pointer would be helpful.
Sincerely,
Gene Wirchenko