Hi,
Newbie here, evaluating Prince 7.1. I have an image sprite consisting of country flag icons. My CSS looks like this:
.f32 .flag{background:url(../images/flags32.png) no-repeat; padding-left: 40px; height: 32px; }
.f32 .cn{background-position:0 -2048px; }
HTML snippet is:
<dl class="f32">
<dt class="flag cn">Lorem ipsum</dt>
</dl>
Renders fine in the browser but when running Prince XML against it the background position offset appears to be incorrect - it looks like the offset is closer to 1536px instead of 2048px.
Any ideas?
Thanks,
Stan
Newbie here, evaluating Prince 7.1. I have an image sprite consisting of country flag icons. My CSS looks like this:
.f32 .flag{background:url(../images/flags32.png) no-repeat; padding-left: 40px; height: 32px; }
.f32 .cn{background-position:0 -2048px; }
HTML snippet is:
<dl class="f32">
<dt class="flag cn">Lorem ipsum</dt>
</dl>
Renders fine in the browser but when running Prince XML against it the background position offset appears to be incorrect - it looks like the offset is closer to 1536px instead of 2048px.
Any ideas?
Thanks,
Stan