> Thanks. I will give a try on your solution. I will see what do I get
> after the changes.
I know what you'll get if you do it right: the intended line-up.
I test before responding :-)
> And... With all the margin and padding and height and pixel and em...
> maybe what you have said: " Also: avoid values that you see
> introduce rounding-differences in your range of browsers", leads me
> to a math problem. :)
The math is most often best left to the browser-engines. Most of them
are better at it, and they are doing the rendering-jobs anyway. So
you're right about you having a "math problem".
Pixel and restricted height rarely ever go well together with
font-size and line-height. Pixel are fixed - font-size and line-height
are not. Em are most often better suited when dealing with text in tight
line-ups, since they reflect font-size.
So, if you get your numbers right you can play with em and pixel mixes
on various declarations on same or related elements, and all browsers
will play nicely along. If you get numbers and/or units wrong, or simply
don't include all variables that affect elements' line-up, you're likely
to end up with a mess.
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/