Alignment of objects

Following situation: I got, like, 10 objects in vertical aligment, all have the same width. Now I want their center point to align on X = 7.5mm. So I select them all, use "Align on vertical axis" (or so, got german Indesign) and then set the top-middle reference point
and set X to 7.5mm with all 10 objects selected. After this, when selecting a single object, the X value is not 7.5, it is some higher or lower (like in the small image).
But for all objects, the average of the 10 X values will still be 7.5mm.
How to get rid of this? Do I have to select every single object and set X = 7.5mm manually?

Problem solved. Sorry for the confusion. I just used the wrong alignment tool, instead of , though it worked somehow, but not correctly.

Similar Messages

  • Script to align selected objects to artboard

    Hello, I was wondering if anyone had a simple solution to aligning selected items to the artboard. I was going to create an action but then realized it would be more convenient for me to include it in my script file....I have a script to align objects with each other but they dont align to the artboard. Any suggestions?

    Hello volocitygraphics,
    here is a quick&dirty solution.
    Note that the result may be different, if clipping masks are exists in the document.
    Please test it at first on copies of your documents. Use it on your own risk.
    // ArtboardCenterAroundSelectedPaths.jsx
    // works with CS5
    // http://forums.adobe.com/thread/1336506?tstart=0
    // (title: script to align selected objects to artboard)
    // quick & dirty, all selected items will be centered at the active artboard 
    // (include clipping paths  !visible result can be different)
    // regards pixxxelschubser  19.Nov. 2013
    var aDoc = app.activeDocument;
    var Sel = aDoc.selection;
    if (Sel.length >0 ) {
        var abIdx = aDoc.artboards.getActiveArtboardIndex();
        var actAbBds = aDoc.artboards[abIdx].artboardRect;
        var vBounds = Sel[0].visibleBounds;
        vBounds_Li = vBounds[0];
        vBounds_Ob = vBounds[1];
        vBounds_Re = vBounds[2];
        vBounds_Un = vBounds[3];
    if (Sel.length >1 ) {   
        for (i=1; i<Sel.length ; i++) {
            vBdsI = Sel[i].visibleBounds;
            if( vBounds_Li > vBdsI[0] ) {vBounds_Li = vBdsI[0]};
            if( vBounds_Ob < vBdsI[1] ) {vBounds_Ob = vBdsI[1]};
            if( vBounds_Re < vBdsI[2] ) {vBounds_Re = vBdsI[2]};
            if( vBounds_Un > vBdsI[3] ) {vBounds_Un = vBdsI[3]};
        aDoc.artboards[abIdx].artboardRect = [vBounds_Li +((vBounds_Re - vBounds_Li)/2-(actAbBds[2]-actAbBds[0])/2), vBounds_Ob -((vBounds_Ob - vBounds_Un)/2+(actAbBds[3]-actAbBds[1])/2), vBounds_Li +((vBounds_Re - vBounds_Li)/2-(actAbBds[2]-actAbBds[0])/2)+(actAbBds[2]-actAbBds[0]), vBounds_Ob -((vBounds_Ob - vBounds_Un)/2+(actAbBds[3]-actAbBds[1])/2)+(actAbBds[3]-actAbBds[1])];
        } else {
            alert ("No selection");
    I hope so, the document coordinatesystem is the same as in CS6+
    Have fun

  • Align New Objects to Pixel Grid by Layer

    It would be very nice to have the setting "Align New Objects to Pixel Grid" at the layer level.

    kaanungur,
    I am afraid you have come across the Live Rectangle bug sorry feature where it refuses to align to the Pixel Grid.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool or the Free Transform Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587

  • Align New objects to pixel grid does not seem to work - Windows 7

    Here is another issue I've been struggling with for a while.
    Scenario:
    1. Working on a web UI, so want to use pixel grid, which is handy. So I create a new document, web profile and making sure 'Align New Objects to Pixel Grid' is selected:
    2. Yay! We have a nice and clean new document, cannot wait to start drawing rectangles! But let's double-check if everything is hunky dory:
    3. Right! Let's go and start making rectangles!
    4. And NOOOOOOOO!!!! As you can see in the image above, the rectangle is not aligned to pixel grid (look at the values), and it's "Align to pixel grid" option is not selected. Let's triple-check our options:
    So yeah, there you go. It's all lies! You have to check the check box AFTER you create the shapes FOR EACH SHAPE!
    Illustrator why you do this?! What am I missing here?!
    Windows 7 Ultimate
    AI 18.1.1 (64-bit)

    kaanungur,
    I am afraid you have come across the Live Rectangle bug sorry feature where it refuses to align to the Pixel Grid.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool or the Free Transform Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587

  • What's your fastest way to center align two objects without moving one of them?

    I will greatly appreciate your tips.

    Use the align palette and set one object as a key object. Choose align to: and set that to key object(if not already set)
    Select one group
    Shift click to add the next group to the selection
    then click on an group again to set this as a key object (the outline will turn bold since CS4 to signify the is a key object)
    choose an alignment in the align panel

  • Cannot Align Two Objects On Each Other

    I have done a completely clean install of Creative Cloud CS6 on my mac on Mountain Lion. First time opening Illustrator, and I cannot center two vector objects on each other. Rather, when I click to center them (vertically or horizontally) it actually pushes them further apart! It also appears to be arbitrarily selecting another object on my art board when I select these two (there is no grouping overlap, it makes no sense). I've looked around before, and have 'align to selection' checked, and 'snap to grid/snap to point' unchecked in the 'view' dropdown. Going to try to trash my preferences, but this is literally the first time I've opened it, so I can't see how that would be an issue!
    I use this tool CONSTANTLY in what I do, so this is really troubling. Has anyone had a similar problem and fixed it? Thanks so much!!

    I held down Option+Command+Shift while opening Illustrator (as offered in another thread as a way to trash/reset preferences). I know it did this as I had changed the color scheme to light grey, and it's back to dark grey.
    Opened up original file. Now, I can center things horizontally alright, but vertically jumped the both of them way down the page.
    Created a new file. Could center horizontally, centering vertically did absolutely nothing—no jumping down the page, no doing what it should be doing...nada.

  • Auto align & distribute objects in a grid?

    i love the align & distribute 'tools' i use them all the time.
    but it has always appeared thay they are only good for a single row of objects.
    is this correct or is it possible to select a 'grid' of objects and have them evenly aligned & distributed?

    Yup it's here Christoph..
    http://www.scriptsrus.talktalk.net/distLayers.htm

  • Align all objects to gridlines

    Does anybody know script, which allign all items in my document to the nearest gridlines. I know, I can do it manually, but I have many objects in different places and it would take a lot of time.

    kaanungur,
    I am afraid you have come across the Live Rectangle bug sorry feature where it refuses to align to the Pixel Grid.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool or the Free Transform Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587

  • Direct Select Align to Object in Group

    As it is, when you direct select an object and align to it, they both move even if you click one to align to. If this behavior could be made consistent with the normal select where you can click one of the objects again to target the "align to" it would help.

    This "Feature" needs to go! I can't cntrl+click shapes to edit them anymore. WHY would adobe remove this / change this???
    Answered my own question: Photoshop CC - Cannot control + click to select a different shape while using the pen tool?

  • Trouble aligning centered objects

    Hi, I want to have 2 objects one a contact form the other is text with links along side each other centered.
    I have enclose two images, one is my best outcome which was done using tables ( which I was not happy as I couldnt edit their margins ) and the secound is an edited image on ps to clarify what I want.
    HTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="layout.css">
    </head>
    <body>
    <div class="wrapOverall">
    <div class="container" id="header container"><div class="header">
               <img class="logo" src="../Home/images/images/Home-Page_03.png" width="447" height="69" boreder="0" />
               <div class="navMain">
                   <div class="navMain">
                       <ul>
                           <li><a href="#"><img src="../Home/images/Home-Page_06 home.png" width="52" height="13" border="0" alt="Home"></a>
                         <li><a href="#"><img src="../Home/images/Home-Page_08 portfolio.png" width="92" height="13" border="0" alt="Portfolio"></a>
                         <li><a href="#"><img src="../Home/images/Home-Page_10 pricing.png" width="57" height="13" border="0" alt="Pricing"></a>
                         <li><a href="#"><img src="../Home/images/Home-Page_12 about.png" width="54" height="13" border="0" alt="About"></a>
                         <li><a href="#"><img src="../Home/images/Home-Page_14 blog.png" width="40" height="13" border="0" alt="Blog"></a>
                         <li><a href="#"><img src="../Home/images/Home-Page_16 contact.png" width="79" height="13" boreder="0" alt="Contact"></a>
                       </ul>
                   </div><!--END navMain-->
    </div><!--END logo-->
    </div><!--END header--></div>
    <!--MAIN CONTENT-->
    <center><table>
        <tr>
            <td width="208">
                <div id="leftContact">
                  <h5><img class="email"><img src="images/images/Contact_Email.jpg" width="106" height="25">                </h5>
                  <h5><img class="emailad"><a href="#"><img src="images/images/Conatct_Email_ad.jpg" width="175" height="23"></a></h5>
                  <h5> </h5>
                  <h5> </h5>
                  <h5><img src="images/images/Contact_Follow.jpg" width="168" height="25"></h5>
                  <h5> <a href="#"><img src="images/images/Contact_fb.jpg" width="103" height="23"></a></h5>
                </div>
            </td>
            <td width="500">
                <div id="rightContact"><iframe width="500" height="550" frameborder="0" src="http://www.foxyform.com/form.php?id=355482&sec_hash=cd579c6c6a8"></iframe></div>
            </td>
        </tr>
    </table></center>
    <!-- END MAIN CONTENT-->
      <div class="container" id="footer"><div class="footer">
                    <img src="../Home/images/images/Home-Page_25-copyright_25.png" alt="" width="166" height="30" class="copyright" boreder="0"/>
                        <div class="fbLike">
      <script type="text/javascript">
    // BeginOAWidget_Instance_2149022: #OAWidget
        var urlToLike = 'http://www.facebook.com/DKphotos.net';
        if (urlToLike == '') {
                urlToLike = window.location.href;
          urlToLike = encodeURIComponent(urlToLike);
          var font = encodeURIComponent('arial');
    document.write ('<iframe src="http://www.facebook.com/widgets/like.php?locale=en_US&href='+urlToLike+'&layout=button_cou nt&show_faces=false&width=450&height=150&action=like&font='+font+'&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; border-color:#ffffff; overflow:hidden; width:450; height:150"></iframe>')
    // EndOAWidget_Instance_2149022
      </script>
        </div><!--END fbLike-->
                </div>
        </div></div>
    </div><!--END wrapOverall-->
    </body>
    </html>
    CSS
    @charset "utf-8";
    /* CSS Document */
    body {
        background-image: url(images/bg_body.jpg);
        background-color: #ffffff;
        background-attachment: fixed;
        background-position: top;
        margin: 20px;
        .wrap {
            position: relative;
            margin: 100;
            /*replace 900px with your width*/
            width: 1920px;
    .wrapOverall {
        width: 1920px;
        display: inline;
    .container {
    width: 100%;
    min-width: 1100px;
    max-width: none;
    .header {
        background-image:url url(images/images/Home-Page_03.png);
        background-repeat:no-repeat;
        background-position:top center;
        height:97px;
    .header img.logo{
        float: left;
        margin: 10px 15px 0px 15px;
    .navMain {
        margin:15px 12px 12px 0px;
        float:right;
    .footer img.copyright{
        float: left;
        margin: 5px 15px 0px 15px;
    .footer div.fbLike{
        float:left;
        margin: 5.6px 0px 0px 0px;
    /*    General Navigation Rules   */
    .navMain ul {
        margin:0px;
        padding:0px;
    .navMain ul li {
        margin: 0px;
        padding: 0px 15px;
        list-style: none;
        display: inline;
    .navMain ul li a {
        margin:0px;
        padding:0px;
    .navMain ul li a:hover {
    .leftContact img.email{
        margin:0px 0px 0px 0px;
    .rightContact{
        margin:40px 0px 20px 0px;
        #header, #footer {
            width:100%;
            float:left;
            #footer {
        position: fixed;
        bottom: -125px;
        z-index: 999999;
        background-color: #FFF;
    .header img.logo{
        float: left;
        margin: 10px 15px 0px 15px;
    Thanks

    Use a CSS parent container width of about 900px and center it with margin-left and margin-right of auto.
    #container {
    width: 900px;
    margin:0 auto;
    border: 1px dotted red;
    Use floats and margins to align inner elements (boxes) within the parent container.
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    Nancy O.

  • Noob question - how to align 2 objects to their rotational points?

    for example the rotational points of clock arms that are not in the center or edge of the arms to get aligned to the center of the clock face?

    I want the rotational point of the clock hand to align or snap in the middle of the circle.

  • Aligning an object to left upper corner

    Hi, as a novice dreamweaver user, I woul like a logo in the
    left upper corner, however I keep getting about 1 cm space above
    the logo and 2 mm left of it. In the design grid the object starts
    at 1,1 (allthough I'd love at 0,0 .
    borders are at 0.) I 1st create a table (border 0) and put
    the logo in the upper left cell.
    In IE as mentioned , the logo sits at about 1 cm from top and
    2mm from left. Also my table borders seem to occupy space
    What to do ?

    Heights in <td> tags *IS* valid HTML. It's table height
    that is not.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Malcolm N_" <[email protected]> wrote in message
    news:[email protected]..
    > On Fri, 21 Mar 2008 17:39:28 +0000 (UTC), "HUGOWILLEMS"
    > <[email protected]> wrote:
    >
    >>Here it is in the attachement
    >>
    >> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    >>"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    >> <html xmlns="
    http://www.w3.org/1999/xhtml">
    >> <head>
    >> <meta http-equiv="Content-Type"
    content="text/html; charset=iso-8859-1"
    >> />
    >> <title>Spiegelven Mannenclub</title>
    >> <style type="text/css">
    >> <!--
    >> body {
    >> background-image: url();
    >> background-repeat: no-repeat;
    >> margin-left: 0px;
    >> margin-top: 0px;
    >> margin-right: 0px;
    >> margin-bottom: 0px;
    >>}
    >
    > replace above with this: simpler and you forgot the
    padding:
    >
    > margin: 0; padding:0;
    >
    >
    > also your code has heights in <td>'s that isn't
    valid html
    >
    > --
    >
    > ~Malcolm N....
    > ~

  • Illustrator CS3: method to align an object

    Hello everyone!
    Look at this drawing http://img210.imageshack.us/img210/7829/immagine1xz.jpg
    I have to align the red square with black lines.
    Is there a command to do this? How can I do?

    Turn on Smart Guides. Select the Rotate Tool. Click on the bottom right corner anchor to make it the pivot. Place the cursor over the top right anchor and drag/rotate until it is aligned with the black line.

  • Align multiple objects

    Hi Scripters,
                  I have selected 3 graphic frames in my current page. Now I want to use "align horizontal centers". It is possible do this in CS2 using javascript?
    thanks in advance
    regards
    a r u l

    Hi
    try this, Im conform in CS3
    app.menuActions.item("Align to Selection").invoke();
    app.menuActions.item("Horizontal Align Center").invoke();

  • Aligning an object to the center...

    I'm trying to load an image for displaying in a container
    which have been loaded from the Library and placed on the stage.
    Loading the image for which to use is no problem but algning
    it to the center of the stage is a problem.
    Now, keeping in mind that loaded images usually are placed at
    the top-left corner of the stage I tried to solve the problem like
    this...:
    a = stage.stageWidth/2 (finding the center of the stage)
    b = image.width/2
    c = a-b (giving us the result of which to place the image)
    image.x = c;
    The formulas above make sence... in theory. In real life (at
    least on my computer) it doesn't work.
    Now, there might be some factors to consider when doing
    simple math like this...:
    - Can it be that the container is not the same size as the
    image loaded?
    - Can it be that I have to keep the x and y of the container
    (although I have aligned it so it's placed at the center of the
    stage)?
    Any advice are helpfull...
    Thanks in advance...
    AceOfFlash

    That should pretty much do it. So there are three things that
    jump to mind.
    1. You've moved the zero point of the movie clip that
    contains the container. (of some parent of the parent, etc.)
    2. You aren't waiting until the external content is
    completely loaded. So consequently you aren't getting the proper c.
    3. You are loading into a container more than once and you
    need to set the scaleX and scaleY back to 1 before loading.
    Okay I kind of lied a bit. There are more things that come to
    mind. You say "container" but since this is the AS3 forum you mean
    "Loader instance" right?
    And yes NedWebs is right, some actual specific code would be
    more helpful.
    PS: You can shorten the math by just doing this:
    image.x=(stage.stageWidth-image.width)/2

Maybe you are looking for

  • Can't override Button component methods

    I've got a custom class that extends the Button UIComponent. I'm trying to override the drawEmphasized() function and a few public get/set functions. I get "1020: Method marked override must override another method." for each thing I try to override.

  • Adding exra field to print report RLLI0400

    i want to add one field EXIDV2 in the out put of print program RLLI0400, i have copied RLLI0400 to ZRLLI0400 ,now where i need to write code to add a field to out print...... this field should be printed right to the storage unit.... and i dont know

  • OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.

    I just upgraded my 3GS to ios 5.  Now I can not transfer a book using OverDrive Media Consol.  I get an error that says this type of file can not be played on this iPhone.  Also, the custom ring tones I created can not be played on the iphone anymore

  • OPMN service still running but Essbase is not

    I have had a few cases of recursion causing Essbase to crash, but the OPMN service still says it's running in the services monitor. Any clues why? Reason I ask is that we have taken the trouble to monitor (and be notified of failures) all Hyperion se

  • Need Snow Leopard (in 2013), to then upgrade further. How to get it?

    I have Leopard (10.5.8), from 2009. I need to upgrade to Snow Leopard in order to then upgrade to Lion, then Mountain Lion. How can I get / access / purchase / download / install Snow Leopard today, in 2013? I live in Switzerland (nearly 3 hours away