[thelist] pixel perfect requirements and web standards

Richard Garbutt richardjg at gmail.com
Mon Jun 6 02:50:46 CDT 2005

> The html/css version looks great to me, but the nav. doesn't meet the
> pixel perfect requirement. It's an unordered list and will always differ
> from the psd by 1-3 pixels because you can't size things in pixel
> fractions (e.g, if you have 5 nav elements of varying text length which
> must all have identical distance from the text and border - without
> access to fractions, it's mathematically impossible to make that "pixel
> perfect" using css and html - there's always a remainder in the
> division). 

I guess you could use something like:

<li><a href="#"><img src="link1.gif alt="link1" /></a></li>

And slice the linkN.gifs to fit. 

This would save you from having to redesign the whole site. Unless...

>There are some other issues with the design that more or less
>call for a bunch of really large images.

... these issues can't be solved with css background images.

- Richard

More information about the thelist mailing list