wrote:
>Steve Sundberg wrote:
>> Here's one problem:
>>
>> .PPStyle0-P
>> {
>> margin:0.0px 0.0px 0.0px 0.0px; text-align:left;
>> line-height:1.29;
>> }
>>
>> You can't use fractions when determining dimensions in pixels. A
>> pixel is a pixel; there are no fractional pixels.
Not true for various reasons. Not least of which - the CSS spec allows
the px unit to be more than one display pixel (and whilst most
browser's blindly px to screen pixels they do scale the pixel when
printing, after all a 10 pixel length on a 100dpi screen is very
different to a 10 dot length on a 1200dpi printer. Whether the get the
scaling right is another matter).
Anyway, just because something doesn't make sense doesn't mean that
it's an error to specify it in the code. And at the end of the day any
browser that accepted opx but had problems with 0.0px as given here is
very broken.
>In that particular case, the "1.29" actually has no unit shown, which
>is a standards violation in itself.
No it's not. Look up line-height is the CSS spec and you'll see that
it can take either a number or a length as a value.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <> <http://steve.pugh.net/>