Align JLabels and JTextFields vertically in different areas

I like to have 3 TitledBorders for 3 different areas of my frame.
Each area has its own components - JLabels, JTextField, etc.
How to align JLabels and JTextFields vertically in different areas?
e.g. for the following test program, how to configure label1, label2, label3 so that their right sides all align vertically and
tf1, tf2, tf3 so that their left sides all align vertically?
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.Insets;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.border.TitledBorder;
public class TitledBorderDemo extends JFrame {
  public TitledBorderDemo() {
    super("TitledBorderDemo");
    JTextField tf1 = new JTextField("hello", 6);
    JTextField tf2 = new JTextField("hello", 12);
    JTextField tf3 = new JTextField("test");
    JTextField tf4 = new JTextField("test2");
    JLabel label1 = new JLabel("1234567890ertyuiyup label");
    JLabel label2 = new JLabel("zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz long label");
    JLabel label3 = new JLabel("short label");
    JLabel label4 = new JLabel("test");
    JPanel panel_tf = new JPanel(new GridBagLayout());
    JPanel panel_pf = new JPanel(new GridBagLayout());
    JPanel panel_ftf = new JPanel(new GridBagLayout());
    GridBagConstraints constraints = new GridBagConstraints(0, 0, 3, 3,
            0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE,
            new Insets(10, 10, 10, 10), 0, 0);
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.gridwidth = 2;
    constraints.anchor = GridBagConstraints.WEST;
    panel_tf.add(label1, constraints);
    constraints.gridx = 2;
    constraints.gridwidth = 1;
    constraints.anchor = GridBagConstraints.EAST;
    panel_tf.add(tf1, constraints);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.gridwidth = 2;
    constraints.anchor = GridBagConstraints.WEST;
    panel_pf.add(label2, constraints);
    constraints.gridx = 2;
    constraints.gridwidth = 1;
    constraints.anchor = GridBagConstraints.EAST;
    panel_pf.add(tf2, constraints);
    constraints.gridx = 0;
    constraints.gridy = 2;
    constraints.gridwidth = 2;
    constraints.anchor = GridBagConstraints.WEST;
    panel_ftf.add(label3, constraints);
    constraints.gridx = 2;
    constraints.gridwidth = 1;
    constraints.anchor = GridBagConstraints.EAST;
    panel_ftf.add(tf3, constraints);
    constraints.gridx = 3;
    constraints.gridwidth = 1;
    constraints.anchor = GridBagConstraints.WEST;
    panel_ftf.add(label4, constraints);
    constraints.gridx = 4;
    constraints.anchor = GridBagConstraints.EAST;
    panel_ftf.add(tf4, constraints);
    panel_tf.setBorder(new TitledBorder("JTextField1"));
    panel_pf.setBorder(new TitledBorder("JTextField2"));
    panel_ftf.setBorder(new TitledBorder("JTextField3"));
    JPanel pan = new JPanel(new GridLayout(3, 1, 10, 10));
    pan.add(panel_tf);
    pan.add(panel_pf);
    pan.add(panel_ftf);
    this.add(pan);
  public static void main(String args[]) {
    JFrame frame = new TitledBorderDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setSize(600, 450);
    frame.setVisible(true);
}

Thank you! It works!
I add some labels & components to your demo program.
Most of the components align vertically.
How to align the "Country", "Test2" & "Extension" labels on the right sides?
How to align their corresponding components so that their left sides all align vertically?
How to make the Cancel button stick to the Save button
(i.e. eliminate the gap between the Cancel and the Save button)?
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
public class TitledBorderDemoNew extends JFrame {
  public TitledBorderDemoNew() {
    super("TitledBorderDemoNew");
    JLabel nameLabel = new JLabel("Name");
    JTextField nameText = new JTextField(20);
    JLabel addressLabel = new JLabel("Address (City & State)");
    JTextField addressText = new JTextField(40);
    JLabel countryLabel = new JLabel("Country");
    JTextField countryText = new JTextField(30);
    JLabel testLabel = new JLabel("Test");
    JTextField testText = new JTextField(20);   
    JLabel test2Label = new JLabel("Test2");
    JTextField test2Text = new JTextField(20);   
    JLabel phoneLabel = new JLabel("Phone");
    JTextField phoneText = new JTextField(20);
    JLabel extensionLabel = new JLabel("Extension");
    JTextField extensionText = new JTextField(5);
    JLabel postalCodeLabel = new JLabel("Postal Code");
    JTextField postalCodeText = new JTextField(6);
    JButton saveButton = new JButton("Save");
    JButton cancelButton = new JButton("Cancel");
    JButton commentButton = new JButton("Comment");
    int longWidth = addressLabel.getPreferredSize().width;
    GridBagConstraints constraints = new GridBagConstraints();
    JPanel p1 = new JPanel(new GridBagLayout());
    p1.setBorder(createBorder("Name"));
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,6,4,6);
    p1.add(nameLabel, constraints);
    constraints.gridx = 1;
    constraints.anchor = GridBagConstraints.WEST;
    p1.add(nameText, constraints);
    constraints.gridx = 2;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    constraints.weightx = 1.0;
    p1.add(Box.createHorizontalGlue(), constraints);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.fill = GridBagConstraints.NONE;
    constraints.weightx = 0.0;
    p1.add(Box.createHorizontalStrut(longWidth), constraints);
    JPanel p2 = new JPanel(new GridBagLayout());
    p2.setBorder(createBorder("Address"));
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,6,4,6);
    p2.add(addressLabel, constraints);
    constraints.gridx = 1;
    constraints.anchor = GridBagConstraints.WEST;
    p2.add(addressText, constraints);
    // extra label & component
    constraints.gridx = 2;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,36,4,6);
    p2.add(countryLabel, constraints);
    constraints.gridx = 3;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.insets = new Insets(4,6,4,6);
    p2.add(countryText, constraints);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,6,4,6);
    p2.add(testLabel, constraints);
    constraints.gridx = 1;
    constraints.anchor = GridBagConstraints.WEST;
    p2.add(testText, constraints);
    // extra label & component
    constraints.gridx = 2;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,36,4,6);
    p2.add(test2Label, constraints);
    constraints.gridx = 3;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.insets = new Insets(4,6,4,6);
    p2.add(test2Text, constraints);
    constraints.gridx = 4;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    constraints.weightx = 1.0;
    p2.add(Box.createHorizontalGlue(), constraints);
    constraints.gridx = 0;
    constraints.gridy = 2;
    constraints.fill = GridBagConstraints.NONE;
    constraints.weightx = 0.0;
    p2.add(Box.createHorizontalStrut(longWidth), constraints);
    JPanel p3 = new JPanel(new GridBagLayout());
    p3.setBorder(createBorder("Phone"));
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,6,4,6);
    p3.add(phoneLabel, constraints);
    constraints.gridx = 1;
    constraints.anchor = GridBagConstraints.WEST;
    p3.add(phoneText, constraints);
    constraints.gridx = 2;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,6,4,6);
    p3.add(extensionLabel, constraints);
    constraints.gridx = 3;
    constraints.anchor = GridBagConstraints.WEST;
    p3.add(extensionText, constraints);
    constraints.gridx = 2;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    constraints.weightx = 1.0;
    p3.add(Box.createHorizontalGlue(), constraints);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.fill = GridBagConstraints.NONE;
    constraints.weightx = 0.0;
    p3.add(Box.createHorizontalStrut(longWidth), constraints);
    JPanel p4 = new JPanel(new GridBagLayout());
    p4.setBorder(createBorder("Postal Code"));
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.anchor = GridBagConstraints.EAST;
    constraints.insets = new Insets(4,6,4,6);
    p4.add(postalCodeLabel, constraints);
    constraints.gridx = 1;
    constraints.anchor = GridBagConstraints.WEST;
    p4.add(postalCodeText, constraints);
    constraints.gridx = 2;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    constraints.weightx = 1.0;
    p4.add(Box.createHorizontalGlue(), constraints);
    constraints.gridx = 0;
    constraints.gridy = 1;
    constraints.fill = GridBagConstraints.NONE;
    constraints.weightx = 0.0;
    p4.add(Box.createHorizontalStrut(longWidth), constraints);
    JPanel p5 = new JPanel(new GridBagLayout());
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.insets = new Insets(4,6,4,6);
    p5.add(commentButton, constraints);
    constraints.gridx = 1;
    constraints.anchor = GridBagConstraints.WEST;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    constraints.weightx = 1.0;
    p5.add(Box.createHorizontalGlue(), constraints);
    constraints.gridx = 2;
    constraints.gridwidth = GridBagConstraints.RELATIVE;
    constraints.fill = GridBagConstraints.NONE;
    constraints.anchor = GridBagConstraints.EAST;
    p5.add(cancelButton, constraints);
    constraints.gridx = 3;
    constraints.gridwidth = GridBagConstraints.REMAINDER;
    constraints.anchor = GridBagConstraints.EAST;
    p5.add(saveButton, constraints);
    JPanel panel = new JPanel(new GridBagLayout());
    constraints.gridx = 0;
    constraints.gridy = 0;
    constraints.fill = GridBagConstraints.HORIZONTAL;
    constraints.weightx = 1.0;
    panel.add(p1, constraints);
    constraints.gridy = 1;
    panel.add(p2, constraints);
    constraints.gridy = 2;
    panel.add(p3, constraints);
    constraints.gridy = 3;
    panel.add(p4, constraints);
    constraints.gridy = 4;
    panel.add(p5, constraints);
    this.add(new JScrollPane(panel));
  private Border createBorder(String title)
    TitledBorder b = new TitledBorder(title);
    b.setTitleColor(Color.RED.darker());
    return b;
  public static void main(String args[]) {
    JFrame frame = new TitledBorderDemoNew();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.pack();
    frame.setVisible(true);
}Edited by: 833768 on 26-Apr-2011 10:32 AM

Similar Messages

  • Help with JLabels and JTextFields

    I'm experimenting with JLabels and JTextFields in a basic JFrame. What I am trying to accomplish (without success) is to align a JLabel above and centered on a JTextField. The tutorials are confusing me. Any help would be greatly appreciated. a Sample of code is ...
    JLabel  myTextLabel = new JLabel("Who's text Field?");
    JTextField myTextField = new JTextField("My Text Field");...after reading the tutorial I thought that I needed to assign L&F variables to the JLabel ... i.e.
    JLabel myTextLabel = new JLabel("Who's text field?:", JLabel.CENTER, JLabel.TOP); but this results in an error when compiling. (cannot find symbol), so I thought I need to assign the JLabel to the JTextField. i.e.
    myTextLabel.setLabelFor(myTextField);Then I get "identifier" expected. So now being completely confused I am here asking "How do I?" :)
    Thanks in advance!

    Most likely, you need to think a little more about using a layout manager to hlp you along the way. If memory serves, the default layout manager for a JPanel is FlowLayout and that will simply place the components you add to the panel one after another and allow each to adopt it's preferred size.
    One way to ensure that the two compoenets were sized equally, would be to use the GridLayout layout manager and create either one row with two columns, or two rows with one column on each. Then add the compoennets to each of the 'cells' so to speak and that should ensure that they are both the same size.
    As to making the text centered in each, both the JLabel and JtextField classes have amethod called setHorizontalAlignment(); it can be used to aligh the text as you require.
    Simply create an instance of the class;
    JLabel aLabel = new JLabel("Some Text");
    // Then set the alignment
    aLabel.setHorizontalAlignment(SwingConstants.CENTER);Or, do the whole operation i one step
    JLabel aLabel = new JLabel("Sone Text", SwingConstants.CENTER);and then add the componenet to the panel once you have set the layout manager.
    Remember that the label.textfield will have to be wide enought to make it obvious that the text is centered!

  • Layout of JLabels and JTextFields

    Hi!
    I am looking for an easy way to layout JLabels and JTextFields side by side like this:
    jlabel             jtextField
    small jlabel       jtextField
    longer jlabel      jtextFieldAny ideas on how to do this?
    Peter

    Read this section from the Swing tutorial on "Using Layout Managers":
    http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html
    The easiest way is to use a GridLayout.
    JPanel panel = new JPanel();
    panel.setLayout( new GridLayout(0, 2) );
    panel.add( new JLabel("...") );
    panel.add( new JTextField(10) );
    panel.add( new JLabel("...") );
    panel.add( new JTextField(10) );
    A more complicated, but more flexible way is to use a GridBagLayout. Something like this:
    public class ActivityPanel extends JPanel
         public ActivityPanel()
              setBorder( new EmptyBorder(5, 5, 5, 5) );
              setLayout( new GridBagLayout() );
              GridBagConstraints gbc = new GridBagConstraints();
              gbc.insets = new Insets(5, 10, 5, 10);
              // add street
              JLabel lStreet = new JLabel("Street");
              JTextField cStreet = new JTextField(32);
              addRow(gbc, lStreet, cStreet);
              // add city
              JLabel lCity = new JLabel("City");
              JTextField cCity = new JTextField(32);
              addRow(gbc, lCity, cCity);
         private void addRow(GridBagConstraints gbc, Component left, Component right)
              gbc.gridx = GridBagConstraints.RELATIVE;
              gbc.gridy = GridBagConstraints.RELATIVE;
              gbc.gridheight = 1;
              gbc.gridwidth = 1;
              gbc.anchor = GridBagConstraints.EAST;
              add(left, gbc);
              gbc.gridwidth = GridBagConstraints.REMAINDER;
              gbc.anchor = GridBagConstraints.WEST;
              add(right, gbc);
    }

  • How to align JLabels and set them to the rightmost position before the JTextField?

    I don't know if this is the right group to ask in.
    I am using the miglayout,
    and I want every JLabels to locate at
    the rightmost position next to the JTextField after it
    so that there won't be any gaps between
    the JLabels and the JTextFields
    Any example to show
    Thanks
    Jack

    Mod: moved from JP.

  • JTabbedPane and JTextField

    Using JDK 1.4.
    I have created an Applet with using a JTabbedPlane with 2 tab components both are JPanels. The first-tab JPanel has a number of JTextComponents on it, the second-tab JPanel ans several JLabels, JButtons, and JTextFields.
    When the Applet starts only the components on first-tab are shown - as expected.
    I have created a separate class that extends JPanel (add-on-panel) that includes a number of JLabels and JTextFields that are laid out on it. If I add add-on-panel to the second-tab JPanel, add-on-panel's JTextFields show through the first-tab JPanel. Once the second-tab is selected and then the first-tab is selected, add-on-panel's JTextFields no longer show through.
    I have explicity setOpaque(true) on first-tab and its components.
    Is this a bug or have I messed setting up something correctly???
    I have also added a third-tab JPanel that has a JTextEditor and it does not show through.
    Thanks in advance

    more info here (scroll down to evaluation section)
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5089436

  • How to print JTextPane containing JTextFields, JLabels and JButtons?

    Hi!
    I want to print a JTextPane that contains components like JTextFields, JLabels and JButtons but I do not know how to do this. I use the print-method that is available for JTextComponent since Java 1.6. My problem is that the text of JTextPane is printed but not the components.
    I wrote this small programm to demonstrate my problem:
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    import java.awt.print.PrinterException;
    public class TextPaneTest2 extends JFrame {
         private void insertStringInTextPane(String text,
                   StyledDocument doc) {
              try {
                   doc.insertString(doc.getLength(), text, new SimpleAttributeSet());
              catch (BadLocationException x) {
                   x.printStackTrace();
         private void insertTextFieldInTextPane(String text,
                   JTextPane tp) {
              JTextField tf = new JTextField(text);
              tp.setCaretPosition(tp.getDocument().getLength());
              tp.insertComponent(tf);
         private void insertButtonInTextPane(String text,
                   JTextPane tp) {
              JButton button = new JButton(text) {
                   public Dimension getMaximumSize() {
                        return this.getPreferredSize();
              tp.setCaretPosition(tp.getDocument().getLength());
              tp.insertComponent(button);
         private void insertLabelInTextPane(String text,
                   JTextPane tp) {
              JLabel label = new JLabel(text) {
                   public Dimension getMaximumSize() {
                        return this.getPreferredSize();
              tp.setCaretPosition(tp.getDocument().getLength());
              tp.insertComponent(label);
         public TextPaneTest2() {
              StyledDocument doc = new DefaultStyledDocument();
              StyledDocument printDoc = new DefaultStyledDocument();
              JTextPane tp = new JTextPane(doc);
              JTextPane printTp = new JTextPane(printDoc);
              this.insertStringInTextPane("Text ", doc);
              this.insertStringInTextPane("Text ", printDoc);
              this.insertTextFieldInTextPane("Field", tp);
              this.insertTextFieldInTextPane("Field", printTp);
              this.insertStringInTextPane(" Text ", doc);
              this.insertStringInTextPane(" Text ", printDoc);
              this.insertButtonInTextPane("Button", tp);
              this.insertButtonInTextPane("Button", printTp);
              this.insertStringInTextPane(" Text ", doc);
              this.insertStringInTextPane(" Text ", printDoc);
              this.insertLabelInTextPane("Label", tp);
              this.insertLabelInTextPane("Label", printTp);
              this.insertStringInTextPane(" Text Text", doc);
              this.insertStringInTextPane(" Text Text", printDoc);
              tp.setEditable(false);
              printTp.setEditable(false);
              this.getContentPane().add(tp);
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setSize(400,400);
              this.setVisible(true);
              JOptionPane.showMessageDialog(tp, "Start printing");
              try {
                   tp.print();
              } catch (PrinterException e) {
                   e.printStackTrace();
              try {
                   printTp.print();
              } catch (PrinterException e) {
                   e.printStackTrace();
         public static void main(String[] args) {
              new TextPaneTest2();
    }First the components are shown correctly in JTextPane, but when printing is started they vanish. So I created another textPane just for printing. But this does not work either. The components are not printed. Does anybody know how to solve this?
    Thanks!

    I do not know how I should try printComponent. From the API-Doc of JComponent of printComponent: This is invoked during a printing operation. This is implemented to invoke paintComponent on the component. Override this if you wish to add special painting behavior when printing. The method print() in JTextComponent is completely different, it starts the print-job. I do not understand how to try printComponent. It won't start a print-job.

  • I and my brother have different apple id's but are using the single itunes library on our home PC.When i am syncing my iphone most of the times the apps that were purchased with my brothers apple id is also getting on my iphone.

    i and my brother have different apple id's but are using the single itunes library on our home PC.When i am syncing my iphone most of the times the apps that were purchased with my brothers apple id is also getting on my iphone.
    How do i differentiate the apps that were purchased with my apple id and sync accordingly.As i want only the apps that were purchased in my apple id.
    I am aware of the fact that i can click on the app and check with "getinfo" to see with whose apple id it is brought.but there are hundreds app which i cannot check one by one.
    How do i filter the apps with apple id and sync?

    Connect the device to the computer.
    Open iTunes.
    Select the content desired to sync.
    Sync.

  • My home network has an Airport Extreme w/Time Capsule as the base and then an Airport Express and a second Airport Extreme to reach different areas of the house.  Is there a way to use the second Airport Extreme for file storage on this network?

    My home network has an Airport Extreme w/Time Capsule as the base and then an Airport Express and a second Airport Extreme to reach different areas of the house.  Is there a way to use the second Airport Extreme for file storage on this network?  Network is administered through an iMac running OS X Yosemite 10.10.2.  Ideally, would like for the second Airport Extreme hard drive to appear on the list of devices in the Finder window.

    Ok.. gottcha
    The problem is network wise.. Yosemite is about equal to tin cans and string.. pathetic.
    Here is my usual set of instructions to get anything working on Yosemite.
    The best way to fix problems is a full factory reset of all the AE in the network.
    Factory reset universal
    Power off the AE.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the AE to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    Then redo the setup from the computer with Yosemite.
    1. Use very short names.. NOT APPLE RECOMMENDED names. No spaces and pure alphanumerics.
    eg AEgen5 and AEwifi for basestation and wireless respectively.
    Even better if the issue is more wireless use AE24ghz and AE5ghz with fixed channels as this also seems to help stop the nonsense.
    2. Use all passwords that also comply but can be a bit longer. ie 8-20 characters mixed case and numbers.. no non-alphanumerics.
    3. Ensure the AE always takes the same IP address.. this is not a problem for AE which is router.. it is a problem for AE which is bridged.. you will need to set static IP in the main router by dhcp reservations or use static IP in the AE which is tricky.
    4. Check your share name on the computer is not changing.. make sure it also complies with the above.. short no spaces and pure alphanumeric..
    5. Make sure IPv6 is set to link-local only in the computer. For example wireless open the network preferences, wireless and advanced / TCP/IP.. and fix the IPv6. to link-local only.
    6. Now mount the disk of the second AE in finder... manually.
    Use Go, Connect to Server and type in the AE ip address.
    SMB://10.0.1.2
    Where you will replace that address with the actual address. The network resource should be discovered and then it will request the password.. type that in and make sure you tick to save it in your keychain.
    There is a lot more jiggery pokery you can try but the above is a good start.. if you find it still unreliable.. don't be surprised.
    Do as much as you want of the above... not all of it is necessary.. only if you want it reliable.. or as reliable as Yosemite in its current incarnation can manage.
    The most important thing is point 6.. mount the disk using direct IP address and not names.. dns in Yosemite is fatally flawed.
    See http://arstechnica.com/apple/2015/01/why-dns-in-os-x-10-10-is-broken-and-what-yo u-can-do-to-fix-it/

  • I have created a site with iWeb. I have replaced the iWeb Nav bar with a vertical one I made myself. Problem is, my top button disables itself if it overlaps into the "hidden" nav bar area. I can cmd click and drag it into this area, but then all the rest

    I have created a site with iWeb. I have replaced the iWeb Nav bar with a vertical one I made myself. Problem is, my top button disables itself (and the animation doesn't work) if it overlaps into the "hidden" nav bar area (indicated by a blue rectangle). I can cmd click and drag it into this area, but then all the rest of my site is pushed down the page. Don't know what to do about this. I don't know how to bring the rest of the page up without dragging it also into the designated nav bar area. Also, by doing this, is it affecting my site in ant way? see my site here at www.steveburrowsimages.com
    The home page is with it all draged into the nav bar area and the about page is with is outside the nav bar area (notice that the top button does not animate or work as a button.
    Getting confused here. Anyone got any ideas?

    Well, you made a good start with SEO by getting rid of the iWeb default navigation since it doesn't help the spiders and, out there in the real world, there are more people than you would think with javascript turned off in their browsers.
    One of the downsides of iWeb is that it doesn't allow for the alt attribute in the img tag. Its well worth adding these to give you extra keywords even if you have captioned all your images. Use iWeb SEO Tool for this...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Tags.html
    iWeb, just like most drag and drop software, creates a huge amount of code which causes the pages to load slowly in the browser. Running you files through an optimizer will help to reduce this problem and further reduce the size of image files even beyond the initial optimization you do before loading them into iWeb...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Optimize.html

  • ITunes Automatically Change EQ Setting Based On Which Airport Express Streaming?  I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different

    I have two Airport Expresses running at my house. Both are connected to different types of speakers. Neither speaker set has its own equalizer, and both require a different EQ setting to sound just right. Does anyone know of a way to have iTunes automatically change its EQ setting based on which Airport Express it is streaming to?

    I'm in the same boat. I have a 6 zone amplifier running with 6 airport expresses to different rooms inside and outside the house. Each has it's own acoustic characteristics. I'd really love to be able to set each airport to equalize based on my SPL frequency sweep I did for each room.
    Setting the eq in itunes won't do it as that is global plus I have many more sources for auiod other than itunes that use the AEs directly.

  • Diversity and trying to conver two different areas

    So the whole purpose of diversity is to provide/improve coverage in a same area.  Basically two antennas placed with a reasonable distance from each other and the concept is that one antenna might receive a better signal than other and then both signals can be combined to get a single stream.  End result better communication.
    Now something I have noticed that people are doing is taking the two antennas and putting them like 25 to 50 feet apart with diversity enabled trying to cover two different areas.  At times two different rooms so like one antenna is in one room and second one is in another room with a concrete wall between them.  Apparently they are saying that it is working for them.  I'm trying to understand the logic behind that how something like that wouldn't cause issues unless they have clients only on one side?

    I've seen set-ups like this before and people at the site can (and will) say that it's "working".  
    Until I get a wireless sniffer out or do some scanning, it seldom works.  They will say that it's working purely for political (don't want to get themselves into trouble) and/or financial (they can't afford to put two APs) or both.  
    This may work (somewhat) in 802.11a/b/g but stick 802.11n/ac and I'm certain it won't work.  When I mean it won't work, I mean you won't see the full benefit of connection speeds of >155 Mbps. 

  • I have logged in to my itunes account on a different pc and none of my files are on there

    Hello
    I have logged in to my itunes account on a different pc and none of my files are on there. Please help!

    Hello Rosie, see if these help...
    http://support.apple.com/kb/ht4627
    http://support.apple.com/kb/ht1203

  • HT1948 USB drive with install image is showing in Startup Manager on a Mac Pro, but wont boot. Showing circle with cross strip, and shut down automatically. USB device are made and work on two different MacBook Pro, but used on Mac Pro. Any help?

    USB drive with install image is showing in Startup Manager on a Mac Pro, but wont boot. Showing circle with cross strip, and shut down automatically. USB device are made and work on two different MacBook Pro, but used on Mac Pro. Any help?

    OS X installers have always been fairly specific, hardware-wise. I haven't read anything reflecting that situation with the Recovery HD, so it may be that the Recovery HD created for the MacBook Pro does not have the necessary drivers for the Mac Pro. Obviously, nothing definitive here, but a possibility.

  • TS2972 used to be able to pick out which songs in iTunes in my computer were not on a 2nd computer on homeshare in iTunes 10.  Now with V11, cant find the button that compares two libraries and finds the songs that are different.  Anyone know how to do th

    Used to be able to pick out which songs in iTunes in my computer were not on a 2nd computer on homeshare in iTunes 10.  Now with V11, cant find the button that compares two libraries and finds the songs that are different.  Anyone know how to do this now?

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • I tried to update my ipad to 7.1.2, and i tried updating it and know its telling me to connect to itunes but i a at a different computer and all of my ictures are going to get deletd and i dont want that

    i tried to update my ipad to 7.1.2, and i tried updating it and know its telling me to connect to itunes but i a at a different computer and all of my ictures are going to get deletd and i dont want that.

    Hi Kevin Gauthereau,
    Welcome to the Support Communities!  If you don't have access to the original computer that you use to sync to iTunes, you can backup your iPad to iCloud and update it wirelessly.  This article will explain how:
    iCloud: Back up your iOS device to iCloud
    http://support.apple.com/kb/PH12520
    You can import your pictures to your computer at any time as a second backup.  Here's how:
    iOS: Import personal photos and videos from iOS devices to your computer
    http://support.apple.com/kb/ht4083
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Cheers,
    - Judy

Maybe you are looking for