Horizontal Button Alignment

Hi All,
By default the Save, Cancel, etc buttons are aligned vertically when a form region is created. How do i align them horizontally?
Thanks
Mc.Kenzie

As Re: APEX 4.0 Region Height, provide as much relevant information as possible in order for others to understand—and potentially replicate—the problem. Theme, template and browser may all be relevant here. Of primary importance is whether the buttons are region buttons or item buttons?
As also suggested in the other thread, reproducing the problem at apex.oracle.com eliminates the need to play 20 Questions here...

Similar Messages

  • How to set default for "Horizontal / Vertical Alignment"?

    Hi,
    is there somewhere a setting to change the default of the "Horizontal / Vertical Alignment" property for an item label? I don't like the "Right" alignment and I have to change it each time when I create a new item.
    Thanks
    Patrick
    http://inside-apex.blogspot.com

    Yes, this is one of (many) cases where a Bulk edit feature in the Builder would be very useful. There have been some discussions about this and hopefully the APEX team is considering these for the next release.
    Having said that, I frequently find myself taking a full app export and editing the SQL file in my favorite text editor (Vim) and making these little changes.
    This is NOT to be done lightly, see the caveats and disclaimers at Re: htmldb application Disabled(on updation of FLOWS_020000.WWV_FLOW_STEP_I
    As always, take a backup of the file before modifying it and save it so you can revert back to it if something goes wrong.

  • Button alignment

    Hello all,
    I am new to the JAVA programming language. I need to write an applet that will display ten buttons at the bottom of the screen. I have looked everywhere but have found nothing about button alignment. Could someone please point me in the write direction? My code so far is below. Thanks in advance.
    import java.awt.*;
    import java.applet.*;
    public class Floys extends Applet
         Button Start, Pause, Stop, Properties, Slower;
         Button Behavior ,Faster, Default, Stranger, Quit;
         Panel bot;
         public void init()
              bot = new Panel();     
              add(bot);
              Start = new Button("Start");
              Pause = new Button("Pause");
              Stop = new Button("Stop");
              Properties = new Button("Properties");
              Slower = new Button("Slower");
              Behavior = new Button("Behavior");
              Faster = new Button("Faster");
              Default = new Button("Default");
              Stranger = new Button("Stranger");
              Quit = new Button("Quit");
              bot.add(Start);
              bot.add(Pause);
              bot.add(Stop);
              bot.add(Properties);
              bot.add(Behavior);
              bot.add(Slower);
              bot.add(Faster);
              bot.add(Default);
              bot.add(Stranger);
              bot.add(Quit);
         }

    you need to use Borderlayout to do this...
    import java.awt.*;
    import java.applet.*;
    public class Floys extends Applet
    Button Start, Pause, Stop, Properties, Slower;
    Button Behavior ,Faster, Default, Stranger, Quit;
    Panel bot;
    public void init()
    // set the layout of applet to Border layout like this
    // by default applet uses FlowLayout
    this.setLayout(new BorderLayout());
    bot = new Panel();
    Start = new Button("Start");
    Pause = new Button("Pause");
    Stop = new Button("Stop");
    Properties = new Button("Properties");
    Slower = new Button("Slower");
    Behavior = new Button("Behavior");
    Faster = new Button("Faster");
    Default = new Button("Default");
    Stranger = new Button("Stranger");
    Quit = new Button("Quit");
    bot.add(Start);
    bot.add(Pause);
    bot.add(Stop);
    bot.add(Properties);
    bot.add(Behavior);
    bot.add(Slower);
    bot.add(Faster);
    bot.add(Default);
    bot.add(Stranger);
    bot.add(Quit);
    add(bot,BorderLayout.SOUTH)
    good luck !
    vinod

  • Button aligned to left size

    Hi All,
    the code below suppose to show a list with a few buttons below.
    in this dialog i have only minor problem.
    The problem is that all my buttons aligned to left size.
    if i omit line number 193 (jButtonPane.setLayout(new GridLayout(1,nOfButtons,1,1))),
    it centralized but i am loosing the behaviour of the buttons.
    when i shrinking the dialog the button dissapear:
    and i need that the button will show like:
    [OK...] [Cancel...] etc...
    how can i centralized the buttons and still not "lost" the buttons.
    this is my code:
    package test;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.GraphicsEnvironment;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.DefaultListModel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.UIManager;
    import javax.swing.UnsupportedLookAndFeelException;
    public class DialogFrame {
         String Message2Show="Default Message";
         JButton[] ButtonArray;
         String [] btnArrayText;
         String [] lineArray;
         String Title;
         int nOfButtons;
         int nOfLines;
         String[] data;
         private JPanel jContentPane = null;
         private JPanel jButtonPane = null;
         private JPanel jmessagePane = null;
         private JList MessageList=null;
         private JScrollPane jScrollPane = null;
         private JPanel jPanel2 = null;
         private DefaultListModel listModel;
         private static int DialogWidthPreferedSize=500;
         private static int DialogHightPreferedSize=200;
         final static boolean shouldFill = true;
        final static boolean shouldWeightX = true;
        final static boolean RIGHT_TO_LEFT = false;
          //Specify the look and feel to use.  Valid values:
        //null (use the default), "Metal", "System", "Motif", "GTK+"
         final static String LOOKANDFEEL = "System";
         public DialogFrame() {
              // TODO Auto-generated constructor stub
            // creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
         public DialogFrame(String message) {
              // TODO Auto-generated constructor stub
              ParseMessage(message);
            //          for test add data
              AddData2Message();
               //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
            private void createAndShowGUI() {
                 initLookAndFeel();
                //Make sure we have nice window decorations.
                JFrame.setDefaultLookAndFeelDecorated(true);
                //Create and set up the window.
                JFrame frame = new JFrame(Title);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                //Display the window.
                int maxHeight = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0].getDisplayMode().getHeight();
                int maxWidth = GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()[0].getDisplayMode().getWidth();
                frame.pack();
                frame.setSize(DialogWidthPreferedSize, DialogHightPreferedSize);
                frame.setLocation(GetWidth(maxWidth),GetHeight(maxHeight));
                frame.setContentPane(getJContentPane());
                frame.setVisible(true);
             private  void initLookAndFeel() {
                String lookAndFeel = null;
                if (LOOKANDFEEL != null) {
                    if (LOOKANDFEEL.equals("Metal")) {
                        lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                    } else if (LOOKANDFEEL.equals("System")) {
                        lookAndFeel = UIManager.getSystemLookAndFeelClassName();
                    } else if (LOOKANDFEEL.equals("Motif")) {
                        lookAndFeel = "com.sun.java.swing.plaf.motif.MotifLookAndFeel";
                    } else if (LOOKANDFEEL.equals("GTK+")) { //new in 1.4.2
                        lookAndFeel = "com.sun.java.swing.plaf.gtk.GTKLookAndFeel";
                    } else {
                        System.err.println("Unexpected value of LOOKANDFEEL specified: "
                                           + LOOKANDFEEL);
                        lookAndFeel = UIManager.getCrossPlatformLookAndFeelClassName();
                    try {
                        UIManager.setLookAndFeel(lookAndFeel);
                    } catch (ClassNotFoundException e) {
                        System.err.println("Couldn't find class for specified look and feel:"
                                           + lookAndFeel);
                        System.err.println("Did you include the L&F library in the class path?");
                        System.err.println("Using the default look and feel.");
                    } catch (UnsupportedLookAndFeelException e) {
                        System.err.println("Can't use the specified look and feel ("
                                           + lookAndFeel
                                           + ") on this platform.");
                        System.err.println("Using the default look and feel.");
                    } catch (Exception e) {
                        System.err.println("Couldn't get specified look and feel ("
                                           + lookAndFeel
                                           + "), for some reason.");
                        System.err.println("Using the default look and feel.");
                        e.printStackTrace();
             private JPanel getJContentPane()
                  if (jContentPane == null) {
                       jContentPane = new JPanel();
                       jContentPane.setLayout(new BorderLayout());
                       //FOR THE LIST
                       jContentPane.add(getMessagePanel(), BorderLayout.CENTER);
                    //FOR THE BUTTONS
                       jContentPane.add(getButtonPanel(), BorderLayout.SOUTH);
                  return jContentPane;
            /*******      FOR THE LIST    **********/
             private JPanel getMessagePanel()
                  if (jmessagePane == null)
                       jmessagePane = new JPanel();
                       jmessagePane.setLayout(new GridLayout(1,0));
                       jmessagePane.add(getJScrollPane(), null);
                  return jmessagePane;
             private JScrollPane getJScrollPane() {
                  if (jScrollPane == null) {
                       jScrollPane = new JScrollPane();
                       jScrollPane.setViewportView(getMessage());
                  return jScrollPane;
             private JList getMessage() {
                  if (MessageList == null) {
                       MessageList = new JList(listModel);
                       MessageList.setBackground(Color.cyan);
                  return MessageList;
              /*******      FOR THE BUTTON    **********/
             private JPanel getButtonPanel()
                  if (jButtonPane == null)
                       jButtonPane = new JPanel();
                       jButtonPane.setLayout(new GridLayout(1,nOfButtons,1,1));//test
                       jButtonPane.add(getJPanel2(),null);
                  return jButtonPane;
             private JPanel getJPanel2()
                  if (jPanel2 == null)
                       jPanel2 = new JPanel();
                       jPanel2.setLayout(new GridLayout(0,nOfButtons));
                       //Cretae Buttons Dynamically Regard user request
                       ButtonArray=new JButton[nOfButtons];
                       //Crteate Button objects
                       for(int i=0;i<nOfButtons;i++)
                            getButton(btnArrayText,i);
                   //add buttons to panel
                   for(int i=0;i<nOfButtons;i++)
                        jButtonPane.add(ButtonArray[i]);
              return jPanel2;
         private JButton getButton(String Text,int ind) {
              ButtonArray[ind] = new JButton(Text);
              ActionListener l = new ActionListener()
    public void actionPerformed(ActionEvent e)
    JButton SelectedButton = (JButton)e.getSource();
    String ac = SelectedButton.getActionCommand();
    MyActionEvents(ac,SelectedButton);
    ButtonArray[ind].setActionCommand(String.valueOf(ind + 1));
    ButtonArray[ind].addActionListener(l);
              return ButtonArray[ind];
         private int GetWidth(int maxWidth){
              int x=0;
              x=(maxWidth/2)-(DialogWidthPreferedSize/2);
              return x;
         private int     GetHeight(int maxHeight){
              int y=0;
              y=(maxHeight/2)-(DialogHightPreferedSize/2);
              return y;
         void ParseMessage(String message)
              Title="";
              String value="";
              int loc;
              /*****************TITLE TREATMENT*********************/
              for ( loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++)
                   Title += message.charAt(loc);
              //Title += ":";
              /*****************BUTTON TREATMENT*********************/
              message = (message.substring(loc+1)).trim();
              value = "";
              for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
              nOfButtons=Integer.parseInt(value);
              btnArrayText=new String[nOfButtons];
              for (int i=0; i<nOfButtons; i++)
                   message = (message.substring(loc+1)).trim();
                   value = "";
                   for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
                   btnArrayText[i] = value;
              /*****************TEXT TREATMENT*********************/
              message = (message.substring(loc+1)).trim();
              value = "";
              for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
              nOfLines = Integer.parseInt(value);
              lineArray = new String[nOfLines];
              for (int i=0; i<nOfLines; i++) {
                   message = (message.substring(loc+1)).trim(); value = "";
                   for (loc=0; loc<message.length() && message.charAt(loc) != ':'; loc++) value += message.charAt(loc);
                   lineArray[i]=value;
         private void MyActionEvents(String actionCommand,JButton SelectedButton)
              int val;
              val=Integer.parseInt(actionCommand);
              switch(val)
              case 1:
                   System.out.println("ac = " + actionCommand);
              break;
              case 2:
                   System.out.println("ac = " + actionCommand);
              break;
              case 3:
                   System.out.println("ac = " + actionCommand);
              break;
              case 4:
                   System.out.println("ac = " + actionCommand);
              break;
              case 5:
                   System.out.println("ac = " + actionCommand);
              break;
              case 6:
                   System.out.println("ac = " + actionCommand);
              break;
              case 7:
                   System.out.println("ac = " + actionCommand);
              break;
              case 8:
                   System.out.println("ac = " + actionCommand);
              break;
              int size = listModel.getSize();
    String Name=SelectedButton.getText();
    listModel.insertElementAt(Name,size);
         //For testing
         private void AddData2Message()
              listModel = new DefaultListModel();
              data=new String[lineArray.length];
              for(int i=0;i<lineArray.length;i++)
                   listModel.addElement(lineArray[i]);
    Tia
    Gabi

    The arrow to open the tab history of the Back and Forward buttons has been removed in Firefox 4 and later.
    Use one of these methods to open the tab history list:
    * Right click on the Back or Forward button
    * Hold down the left mouse button on the enabled Back or Forward button until the list opens
    You can look at this extension:
    * Backward Forward History Dropdown: https://addons.mozilla.org/firefox/addon/backforedrop/

  • Exact & Precise Horizontal & Vertical alignment of Radio Buttons

    How can I align RADIO BUTTONS used in a LIKERT SCALE both horizontally (i.e. EXACTLY on the SAME ROW) and vertically (i.e. for each row EXACTLY COLUMN UNDER each other). Using the grid is most clumsy and my buttons appear "wobbly" both horizontally and vertically. The SHIFT and CTRL keys do not seem to help much. SHIFT is horizontally and vertically too coarse (even though the grid has been defined to be very fine) and the CTRL just deforms the button. I need to be able to "nudge" the buttons as can be done in MS/WORD - Mike van der Linde

    There are a number of options. One is to set up guides, and fields will snap to them when one of the field borders is brought near. To add a guide, show the rulers (Ctrl+R) and click/drag one from either the horizontal or vertical ruler.
    You can also select multiple fields, right-click on one of them, and select the option to align left, bottom, etc. The field that you right-click will be the model or anchor for the others. Other right-click option allow you to set multiple selected fields to the same size (height, width, both) and distribute them horizontally or vertically to they are evenly spaced.

  • Horizontal toolbar alignment in form

    Hello,
    We are in the process of migrating from Forms 6i C/S to Forms 10g R2.
    We have a problem in which the Horizontal toolbar is aligned to the left instead of the right, the direction is ok all the buttons in the design preview are placed in the same order but the toolbar canvas is drawing the items from left to right
    Ex:
    design:
    _________________________________________ [button2][button1]
    On the web:
    [button2][button1]_________________________________________
    There is also an image on the canvas and it's position stays the same.
    The module, block, canvas and window direction property is Right to Left, The NLS_LANG is HEBREW_ISRAEL.IW8IS08859P8, Oracle10gDS platform is win 2000 and browser is IE.
    This works well in Forms 6i C/S but seems broken is 10g....
    I even tried to make a new form with the toolbar and it didn't work, so it's not related to the application code.
    Thank you for your help.

    did you search in metalink for such a problem. This seemed to be the fastest way, because the environment is not typical for our WE8ISO-environments

  • Horizontal Image Alignment

    I am designing an online portfolio using divs. I want a
    horizontal row
    of images within a div, but when I try to create this, the
    images
    always stack vertically.
    I have made sure everything is set to float:left. I have
    stripped away
    all unnecessary code. I made sure the div had the correct
    dimensions
    to contain the images. I even created a separate div for each
    image
    within the main div. None of this made any difference.
    Is there anything else I can try?
    You can visit the problem page at
    http://www.ericgoss.com .

    Hello,
    The main problem is your "t1, t2, t3, etc" divs all have a
    width of 50px.
    #t1, #t2, #t3, #t4, #t5, #t6, #t7, #t8, #t9 {
    float:left;
    height:50px;
    margin-top:5px;
    position:relative;
    vertical-align:middle;
    width:50px;
    But your images are inside of these divs and are much wider.
    For example, "t3" is 50px wide but cover.jpg, contents.jpg
    and gore.jpg are
    well over that:
    <div id="t3"> **********opening "t3"
    <img src="images/gore_button.jpg" name="gore_button"
    width="40" height="40"
    id="gore_button">
    <div id="e3">Insight Magazine Redesign</div>
    <div id="i3">
    <div id="cover"><img src="images/cover.jpg"
    name="cover" hspace="10"
    id="cover"></div>
    <div id="contents"><img src="images/contents.jpg"
    name="contents"
    hspace="20" border="1" id="contents"></div>
    <div id="gore"><img src="images/gore.jpg"
    name="gore" hspace="20"
    border="1" id="gore"></div>
    </div>
    </div> ************ closing "t3" 50px wide.
    So, the images "stack", or more precisely here, float drop.
    You can see this with a simple test of changing the #t3 width
    to 1000px,
    like so:
    #t1, #t2, #t3, #t4, #t5, #t6, #t7, #t8, #t9 {
    float:left;
    height:50px;
    margin-top:5px;
    position:relative;
    vertical-align:middle;
    width:1000px;
    Of course, now the buttons display "stacked" but notice the
    large images
    that display on hover don't drop anymore.
    Here's a possible fix:
    Make the divs holding the images AP divs so they are removed
    from the flow
    and not restricted by the 50px limit.
    For example, change this:
    #i3 {
    left:-110px;
    float:left;
    To this:
    #i3 {
    left:0px;
    position: absolute;
    width: 1000px;
    Now when you hover over the third button , the images are in
    a horizontal
    line.
    You'll probably have to adjust some positioning to align
    things, but it
    should work.
    Just repeat for #i1, #i2, etc...
    Also, and equally important:
    ID's can only be used once in a page, but you have the same
    ones a few
    times.
    Notice ID="cover" is used twice here, fgor the div and the
    img:
    <div id="cover"><img src="images/cover.jpg"
    name="cover" hspace="10"
    id="cover">
    There's really no need for the div around the img, just float
    the img,
    or remove the id from the image and keep the div.
    Take care,
    Tim
    "edg16" <[email protected]> wrote in message
    news:[email protected]...
    >I am designing an online portfolio using divs. I want a
    horizontal row
    > of images within a div, but when I try to create this,
    the images
    > always stack vertically.
    >
    > I have made sure everything is set to float:left. I have
    stripped away
    > all unnecessary code. I made sure the div had the
    correct dimensions
    > to contain the images. I even created a separate div for
    each image
    > within the main div. None of this made any difference.
    >
    > Is there anything else I can try?
    >
    > You can visit the problem page at
    http://www.ericgoss.com .
    >

  • Orientation change button align from right to left

    Hi,
    On vertical view I want the button to be aligned to the right,
    and when is horizontal, align the button to the left
    I have put this code in the orientationchange event:
    if(window.innerHeight > window.innerWidth){
        sym.$("btnDeal").css('right', '10px');  // vertical
    } else {
       sym.$("btnDeal").css('left', '80px');  // horizontal
    I open the site in vertical mode, button looks good,
    change orientation to horizontal then the button change position, looks good
    now I put vertical again, this time the button is wrong, it stayed to the left, should go to the right.
    any change in the orientation the button keeps to the left
    please help, What Im doing wrong?
    thanks

    Please don't do that: https://wiki.archlinux.org/index.php/Fo … te#Bumping

  • Spry horizontal menu alignment problem

    There is an issue I am dealing with that is causing problems.
    I am trying to avoid having the borders double up in thickness, anywhere within the menu.
    I have achieved this by using the left and bottom border everywhere I can and then adding class or id tags where appropriate and adding my own top and right borders.
    Works fine everywhere except at the top of the dropdown section of the submenus where it connects with the main horizontal menu.
    I would like that top box of the submenu to align perfectly with the main horizontal menu bar so that there is a clean single pixel line.
    A clean contiuous line around all menu objects.
    When I add a top border on that top box of the submenu, I can adjust the placement a little but it always seems to either over ride the main horizontal menu, which causes me to either lose the border or double up on it.
    if I have a border completely around both the horizontal menu and the submenu, then when I align them so that the borders sit on top of each other, I get an artifact at the corners of the lines that appear as a gap.  It is NOT clean.
    I can edit the position of the submenu in the CSS code below, I have done this with the margin-top statement.  I have adjusted that between 0 and -1, and will inlcude images of the problem.  Hopefully this will work.
    I want a very clean continous line around the menu boxes that does NOT leave gaps, does NOT double up in thickness or leave any strange looking artifacts anywhere.
    Any help would be greatly appreciated!
    ul.MenuBarHorizontal ul
        margin: 0;
        padding: 0;
        list-style-type: none;
        z-index: 1020;
        cursor: default;
        width: auto;
        position: absolute;
        left: -1000em;
        margin-top: 0px;
        margin-left: 0px;

    Posting screenshots only demonstrates the problem. For anyone to troubleshoot it for you, they need to see the actual menu. Upload the problem page to a public website, and post the URL here. Then someone can have a look at it for you.

  • Button alignment issue - it should inherit I think

    HI,
      I'm on DW CS4 on an intel Mac. I've got a sticking point with an Email button that runs a mailto link. This button seems to only center correctly in IE 6. (For my site, I'm using templates from the Dreamweaver CSS templates that I've customized for my own use. ) 
    The 'Container' which this button is in, is set to text-align:center and I've put 'text-align:center' into the button's attributes. And yet in Firefox and Safari and IE 7, the button hangs left every time.
    http://www.frankbright.com/Contact.htm
    I have tried setting a rather large left margin for the button, but then it looks fine in the other browsers and it looks all screwy in IE 6.0.
    Is there a happy ending to this dilemma? I do appreciate any help if anyone could offer some,
    Many Thanks, Frank B.
    BTW, I am now - thanks to DW CS4 templates - table-free in my site (with one understandable exception: a DW-generated web gallery table; maybe some day on that one). If I can do it, anyone can!  I have to brag somewhere or sometime on this, so it's right now I guess.

    It may be that those browsers are interpreting your image as...an image...not as text, so text-align is not applying. If you give your image a display: block; then a margin: 0 auto; it will center in your space.
    Good job getting free of the tables...DW layouts are a nice help in that direction, and good learning aids at the same time.
    Beth

  • Button Alignment Issue

    I have some custom buttons added to the sales order screen.  When the font in B1 is set to "10", the buttons show up and are aligned just fine.  When the user changes the font to anything other than "10", the buttons become mis-aligned and moved on the form even though I am setting the "Left" property to be the same for all three of them.
    Also, on some computers, when the user minimizes the sales order form and then restores the form, all items  (even system items) don't resize correctly and the sales order matrix shrinks to about 1/2 the size it was before, leaving a huge empty space on the form.  When the add-on is closed, the issue goes away.  I am not changing any properties on the system items or the form (width, height etc).  I'm just adding three custom buttons and filtering for certain events on the form.
    Any ideas?
    Thanks!
    Message was edited by: Curtis Fry

    Curtis,
    Did you follow the Standards and Guidelines UI documentation when creating your controls and forms?  I am assuming that you did, but there are specifics with respect to the creation of buttons on forms?  With other add-ons that you have created, have you experienced this issue?
    This is a note from the PartnerEdge Portal that you may want to check out to see if this helps ...
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000655552
    Let me know,
    Eddy

  • Firefox Problems with Flash Button alignment

    Hey Forums,
    I am using Dreamweaver CS3, for a website. For the page I
    used a 3 column elastic with header and footer.
    On the left sidebar I have four flash buttons, and whenever I
    preview the page in Mozilla Firefox, the upmost button for some
    reasons aligns to the right. I have no alignment settings set, and
    the alignment for the sidebar is set to left. It only happens in
    Firefox, not Safari nor Internet Explorer. I attached the code, if
    you need anymore info, ask.

    >
    http://www.faithdesigner.net/www.faithdesigner.net/pricing.html/www.faithdesig
    > ne
    > r.net
    In the dialog box for the Flash Button, in the link box, put
    the full
    absolute path if an external page. Including the
    http:// part.
    http://www.example.com/page.html
    for pages inside your site- use the browse to file icon, and
    use a relative
    path.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Horizontal center align multiple divs

    I have a container div (#div1), which contains 5 child divs (#div2, #div3, #div4, #div5, #div6) contained inside it.
    The code is something like this:
    <div id="div1">
    <div id="div2">Content2</div>
    <div id="div3">Content3</div>
    <div id="div4">Content4</div>
    <div id="div5">Content5</div>
    <div id="div6">Content6</div>
    </div>
    The Content2,3,4,5,6 are all of different length.
    I want to align the 5 child divs (#div2, #div3, #div4, #div5, #div6) horizontally in one row inside the container #div1, such that the vacant space inside #div1 gets uniformly distributed between the child divs and the child divs become uniformly aligned in the "center".
    The main code for all child divs is (id no is the only thing changed to 3,4,5,6 etc)
    #div2{
    width: 23%;
    position: relative;
    margin:0px auto;
    white-space:normal;
    *display: inline;
    _display: inline;
    *margin: 0 2px 0 2px;
    display:INLINE-block;
    float:none;
    The main code for container #div1 is
    #div1{
    margin:0px auto;
    width:98%;
    text-align:center;
    vertical-align:top;
    white-space:nowrap;
    position:relative;
    display:block;
    float:none;
    However the above code only centers the child div on localhost in IE and Chrome Browser. However on the remote production server it aligns all child divs in one row only in Chrome browser. In IE9, it aligns all the child divs in one single column below one another instead of in one row as shown when hosted on localhost.
    If we change float to left or right for child div, no centering takes place and instead all the child divs align to one side. If the display property of child div is changed to block, the centering fails even on localhost. If the display is changed to inline, the div width becomes 100% automatically and it occupies the complete with of container.
    Can some one advise on how to ensure uniform horizontal alignment of all child divs in one row on localhost as well as actual remote site server on IE (>=IE6, all other browsers also). I would prefer if display:inline-block is also avoided (display:block or inline is preferred) as it may not be supported in earlier browsers.

    when margin-left:2%, the suggested code is making the div before gap d dropoff to next row.
    Each descendent div will have an effective width of 18% + 2% = 20%.  There are 5 such divs.  20% x 5 = 100%.  Thus 100% of the space available in div1 will be filled - no more no less.  Bear in mind that the container div is set at a percent width as well, meaning that the resulting number may not produce even results when 18% and 2% are caclulated, i.e., there will be a rounding error.  Also bear in mind that the left-most div in my example will also have the margin applied.  You can eliminate that by a bit more CSS trickery (this applies the margin only to divs that are not the first child of div#div1) -
    <style type="text/css">
    #div1 div {
              width: 18%;
              margin-left:2%;
              float:left;
    #div1 div:first-child {
          margin-left:0;
    #div1 {
              margin:0px auto;
              width:95%;
              background-color:#CCC;
              overflow:hidden;
    </style>
    That method, however, will leave some variable gap to the right of the last div because of the rounding error and the fact that you are now only using up 18% + 20% + 20% +20% + 20% = 98% of the total space.
    Be aware that you will need to invoke Live mode to see this render properly in DW.
    This approach is simply a variant of the approach shown on css-tricks (which will also fail depending on the width of the containing element.  I suggest you NOT use a containing element that is percent sized and set a fixed width for it.  That will alow you to specify your interior spacing with no rounding error.

  • ITS MOBILE: Button alignment after EHP7 upgradation

    Hi Experts,
    After EHP7 upgradation, ITS mobile buttons are not aligned. But in dialog programming it shows correctly. But in service/scanner it shows not correctly
    How to correct the aligment?
    Thanks with Regards,
    Vallamuthu M

    retrive the screen configuration which is in before ehp7.
    Thanks with Regards,
    Vallamuthu M

  • "horizontal/vertical align center" relative to one object, not the average

    Hello!
    I see in Illustrator, if i select 2 objects and i choose to align them relative to their centers, both objects will move to the middle point of the distance between their original positions.
    Is there a way to make just one of them move?
    Am i able to center one object to another object that is already in its final position?
    thanks a lot!

    i tried it, but it doesn't work. here's what i did:
    -selected one object
    -shift-selected the other one
    -clicked horizontal align center
    both objects moved
    (i am using CS3)

Maybe you are looking for