Keith Purtell wrote:

Pardon my ignorance, but does this mean leading is not normally applied
to replaced elements, or that applying leading to the replaced element
(in this case an img) would be correct procedure and avoid the need for
the padding technique I used?

Eric Meyer addresses this point at some length at :

        http://meyerweb.com/eric/css/inline-format.html

where, in particular, he writes :

If a replaced element appears in the line,
its content-area is equivalent to its intrinsic
height and width, plus any padding, border, or margins.
line-height has no effect on the inline box of replaced
elements (but is used when interpreting percentage values
for the vertical-align property).

Philip Taylor



______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to