mack

msg:4129889 | 10:28 pm on May 9, 2010 (gmt 0) |
I have done this in the past by using an image and specifying its width attribute within the code. The image I used was 1px wide and 10px tall (.jpg) I then had the display area and the value was passed. from my script. Mack.
|
merijnvw

msg:4130256 | 4:44 pm on May 10, 2010 (gmt 0) |
hm... thanks for your response but it doesn't work here...
|
mack

msg:4130372 | 6:35 pm on May 10, 2010 (gmt 0) |
What I did was use a css div as the container. I set the width at 100px then placed the image within the container. I then specified the image size as a width from 1px-100px this was read as a percentage from my script. Mack.
|
merijnvw

msg:4130457 | 9:16 pm on May 10, 2010 (gmt 0) |
While that still didn't work for me(sorry and thanks), or we misunderstood eachother, I got it to work in Firefox at least, and that's actually enough as all my colleagues use FF I believe(and it's only for them): In version 3.5 Firefox added a way to disable the bilinear filter so use nearest neighbor filter: img{image-rendering:-moz-crisp-edges;}
|
|