Hi, I'm fairly new to illustrator and I'm having problems doing something very simple, it's probably me that's causing it I imagine but I've not been able to fix it with the use of Google as I usually do with problems I come across.
First of all here an image of my problem:
I want the red boxes to be touching the black line but no matter what I try there's always that small gap between the top box and the black line. I've tried hold CMD and dragging an anchor/path from the box onto the black lines path but when I release it snaps to where it is now, with the gap.
The bottom box gets a lot closer but again, there is a slight gap.
Is it a setting somewhere I need to change? Everything is currently default.
It's really annoying me now so any help would be appreciated, thanks in advance.
Yeah, I have to agree with Steve on this one. There is no reason to seperate the red objects. Even if you wanted to alter the path's shape. I would be altering the black object's path. No one would be the wiser.
While I agree with Steve and Silkrooster that in this case you don't need 3 objects, in general you should be able to snap edges of different objects. You most likely have Align to Pixel Grid on. You can turn it off in the Transform panel when you select your object. For new objects you have to turn it off from the menu of the Transform panel.
Steve & Silk, thanks, I had thought of that and it would work but I'd rather fix the problem than band aid it so to speak. Also in another part of the piece that wouldn't be an option so I need to fix this.
Emil, when I select the object the "Align to Pixel Grid" tick box isn't present in the Transform Panel, any idea why?
I used your answer to google a bit and I found that turning that option off when creating a document works too and it has for me. I'd still like to know why the original document doesn't have that option in the transform box though if possible.
Thanks for helping me fix the problem though, much appreciated.
Europe, Middle East and Africa