Stephanie Sullivan wrote:
> Hi people... My huge accessible, CSS-P (headache of a) site will be going
> live TODAY! Whoo-hoo!
Quite a journey, eh? :-D
> The client has just brought to my attention that on the pages where we have
> photos with CSS borders, there is a small 1px space that appears between the
> border and the image... This seems to have happened when I added a margin to
> the image/float class so that the paragraphs would not be butt right up
> against the image...
> It appears to happen more often in Moz and Chimera... Is there a fix? <sigh>
Once again the 1px rounding error pokes its tiny head out.
You just can't use EM's on certain margins or padding without
risking this. Too bad Moz is so prone to this disease, but
there it is.
Try using pixels instead of EM's for the suspect margins.
I whomped up a demo to clearly show the 1px error in action:
You should see a solid block. Any gaps are the 1px error. Resize and
see different errors. All the browsers do it, too.
If I use pixels instead of %, no gaps.
| Perennial student + Impractical joker + CSS junkie = Big John |
| XXXX <http://users.rraz.net/mc_on_the_rocks/testpage/pie.html> XXXX |
| XXXXXXXXXXXXX <http://users.rraz.net/mc_on_the_rocks/> XXXXXXXXXXXX |
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.