I didn't align anything to a pixel grid. The lines are 1, 2, 3 pixels in width. I did use a photo type of document and made sure the rectangle is whole pixels, though. But I just plopped the text and the lines down on it.