Skip to main content
margf90845199
Inspiring
January 9, 2019
Answered

Align to Artboard leaving a thin white line along the edge (Object is not perfectly aligned)

  • January 9, 2019
  • 2 replies
  • 1879 views

I created an Artboard that is 5.5" tall. I placed two images, and made each one 2.75" tall. I want to align them vertically, so that they take up the whole Y-axis of the artboard (and I assumed they would fit because 2.75 + 2.75 = 5.5").

I selected the images one by one, opened Window > Align. In the Align window, I used the "Align to Artboard" option. The image on the top seems to have aligned correctly. However, the image on the bottom is not quite at the bottom of the Artboard. There is a thin white line between the edge of the Artboard and the bottom of the image.

Does anyone know how to fix this?

My Preferences are set up as:

Grid Preferences:

  • Style: Lines
  • Gridline every: 1 in
  • Subdivisions: 8
  • "Show Pixel Grid (Above 600% Zoom)" is checked.

Smart Guides Preferences:

  • "Alignment Guides" is checked
  • "Object Highlighting" is checked
  • "Transform Tools" is checked
  • "Anchor/Path Labels" is checked
  • "Measurement Labels" is checked
  • "Spacing Guides" is checked
  • "Construction Guides" is not checked
  • Snapping Tolerance: At first it was set to 2 pt, and then I tried using the Align to Artboard feature with Snapping Tolerance at 0 pt, but still have the same white line at the bottom.

Thank you in advance for any help/suggestions!

This topic has been closed for replies.
Correct answer Jacob Bugge

margf,

You can see the Artboard Options here,

How to set up multiple artboards in Illustrator

It is important to have whole points/pixels values (which are the same in this sense) at the corners of the Artboard, especially when exporting to raster formats; otherwise, there will be strange things like dimensions one px greater and funny lines 1 px thick along the edge(s).

In the screenshot the dimensions are to the left and the X/Y position is to the right; when choosing dimensions of even points/pixels, as you have with 8.5" = 612 pt/px and 5.5" = 396 pt/px, you can use either the centre or the corner Reference points to the right and choose whole X and Y values. If you have odd pt/px dimension values, you need to use one of the corner Reference points. So the latter is always a safe choice.

The screenshot shown in the link has decimal/non whole X and Y values and dimensions.

2 replies

Jacob Bugge
Community Expert
Community Expert
January 9, 2019

margf,

Is the Artboard corners at whole pixel or inch values (no decimals), or what happens if the Artboard is moved to obtain that?

margf90845199
Inspiring
January 9, 2019

Hi Jacob, sorry I don't understand your question -- what do you mean by Artboard corners? My Artboard is set to Width: 8.5 in and Height: 5.5 in. I don't see any settings for "corners" in Artboard Options.

Jacob Bugge
Community Expert
Jacob BuggeCommunity ExpertCorrect answer
Community Expert
January 9, 2019

margf,

You can see the Artboard Options here,

How to set up multiple artboards in Illustrator

It is important to have whole points/pixels values (which are the same in this sense) at the corners of the Artboard, especially when exporting to raster formats; otherwise, there will be strange things like dimensions one px greater and funny lines 1 px thick along the edge(s).

In the screenshot the dimensions are to the left and the X/Y position is to the right; when choosing dimensions of even points/pixels, as you have with 8.5" = 612 pt/px and 5.5" = 396 pt/px, you can use either the centre or the corner Reference points to the right and choose whole X and Y values. If you have odd pt/px dimension values, you need to use one of the corner Reference points. So the latter is always a safe choice.

The screenshot shown in the link has decimal/non whole X and Y values and dimensions.

margf90845199
Inspiring
January 9, 2019

Also -- when I look at the Reference Points, it says that the bottom of the image is at "5.5 in," which should be the absolute bottom of the Artboard, but the white line is still there.