How to keep objects centered and fixed when window resized

Hi,
Newbie here with a question about centering.  What I'm trying to do is center the content of a website and keep the content fixed in size, but what is happening is when I move the right side of the window toward the left side of the window (i.e. contract the window to a smaller size), the items that are centered,  keep moving.  For example, if I have a menu bar, I want the menu bar area to be fixed, and stay centered when a window is resized.  I've attached images of what I'm talking about to hopefully make this more understandable.
Below is the link I used for information regarding centering:
https://forums.adobe.com/thread/454036
Thank you for your assistance

May I suggest a bit more modern list style menu like the one way down the bottom of this page:
http://www.peattiecapital.com/2014.php
Here is the HTML code (classes on the a tag are optional)
<ul>
   <li><a class="nl2014" href="2014.php">2014</a></li>
   <li><a class="nl2013" href="2013.php">2013</a></li>
   <li><a class="nl2012" href="2012.php">2012</a></li>
   <li><a class="nl2011" href="2011.php">2011</a></li>
   <li><a class="nl2010" href="2010.php">2010</a></li>
   <li><a class="nl2009" href="2009.php">2009</a></li>
   </ul>
The CSS is here:
http://www.peattiecapital.com/archive.css

Similar Messages

  • Does anyone know why my iphone keeps switching all of my alert tones and ringtones assigned to contacts? i restored it and it still keeps doing it and now when ever i get a txt or a phone call the tones just sound terrible. how do i fix this?

    does anyone know why my iphone keeps switching all of my alert tones and ringtones assigned to contacts? i restored it and it still keeps doing it and now when ever i get a txt or a phone call the tones just sound terrible. how do i fix this?

    Your only chance is setting it up as new device without using the latest backup afterwards, which you already did.
    If this does not work, you should get it serviced:
    Apple - Support - Service Answer Center
    How to back up your data and set up as a new device

  • HT1688 My iphone keeps blanking out and then when I press then home button it tells me the battery is dead. it has happened to me at 30%, but today it was at 71%, is there a fix for this?

    My iphone keeps blanking out and then when I press then home button it tells me the battery is dead. it has happened to me at 30%, but today it was at 71%, is there a fix for this?

    This is often due to faulty battery. Make Genius reservation and take iPhone to Apple Store for free quick battery diagnostic testing.

  • When I turned on my ipad mini I selected to not sync to my iphone.  I now can't get imessage from my phone to my ipad.  How can I go back and fix this?

    When I turned on my ipad mini I selected to not sync to my iphone.  I now can't get imessage from my phone to my ipad.  How can I go back and fix this?

    Settings-messages.
    Make sure you are logged in with the same Apple ID, email or phone # as the iPhone.

  • How to keep all text and formats the same on multiple computers?

    I'm creating a file in InDesign CS6 on my Windows computer. I keep everything on my flash drive. When I go to school, I bring my flash drive with me and open it up on the Mac computer, but then there are are compatibility issues. There seems to be missing fonts and formats but the school uses the same version of InDesign I do. Now I was told a lot of things of how to keep the fonts and formats the same (embed the links, package the files, outline the text, save as IDML). However, it is not clear to me what each of those options do, so I don't know when or why to use them. So I just want to make sure that when I bring in my file in next Monday, I won't have any missing fonts or formats. What would you suggest is the proper things to do to keep everything the same on multiple computers? And could you please explain why?

    If you want cross-paltform comaptibility limit the fonts to OpenType or Windows TrueType formats, both of which work on both Mac and PC. To avoid missing font warnings the fonts must either be installed on each computer, or they must be in a folder named Document Fonts in the same location as the .indd file they are to work with. Packaging the file will build taht folder for you.
    the rest of the stuff in your list won't help you. .idml would allow you to open on an older version, but does nothing for your situation. Embedding the links will keep you from having missing links, but so will packaging, and embedded links will make the file much larger and harder to work with.
    For goodness sake, don't even think about outlining the text. It stops being text when you do that and you can no longer edit it.
    And finally. do yourself a big favor and don't attempt to actually work on your file directly from the flash drive. Copy the whole package folder to the hard drive, work on it, then copy back. You don't want to know how many files are fatally damaged by write errors on flash drives.

  • Keeping the components size fixed when the window is maximized

    How to keep the Labels and text boxes same size when the window is maximized to fit the screen.Thank you in advance.
    My code:package test;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ShoWnd extends JFrame{
         Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
         JMenuBar menubar;
         JMenu menu;
         JMenuItem menuitem1,menuitem2;
         JLabel label1=new JLabel("Name:");
         JLabel label2;
         JTextField txtfld1;
         JTextField txtfld2;
         JButton btn;
         public ShoWnd(){
              menubar=new JMenuBar();
              menu=new JMenu("File");
              menuitem1=new JMenuItem("open");
              menuitem2=new JMenuItem("Exit");
              label1=new JLabel("Name:");
              txtfld1=new JTextField();
              label2=new JLabel("Name:");
              txtfld2=new JTextField();
              btn=new JButton("Click");
              menu.add(menuitem1);
              menu.add(menuitem2);
              menubar.add(menu);
              setJMenuBar(menubar);
              setLayout(new GridLayout(3,2));
              getContentPane().add(label1);
              getContentPane().add(txtfld1);
              getContentPane().add(label2);
              getContentPane().add(txtfld2);
              getContentPane().add(btn);
              setSize(100,100);
              setVisible(true);
         public static void main(String args[]){
              new ShoWnd();
    }

    How to keep the Labels and text boxes same size when the window is maximized to fit the screen.Either : By using a suitable LayoutManager other than GridLayout.
    Or: Enclose each label and text box (what the heck is a text box?) in a container with a suitable layout manager and arrange those containers in a GridLayout (or any other layout).
    The Java&#8482; Tutorials: [Laying Out Components Within a Container|http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html]
    db

  • How to keep Industry sector and Material Type in Display for Tcode MM01

    How to keep Industry sector and Material Type in Display for Tcode MM01( create material Initial screen)
    Thanks,

    Hi
    Yes, your requirement is possible using screen variant
    1. use tcode SHD0
    2. give transaction as MM01
    3. goto screen variant tab - assign some name - enter program name and screen name
       (from mm01 - F1 help)
    4. goto transaction variant tab - assign some name - assign already defined screen variant name
    5. goto standad variant tab - transaction variant name already fetched automatically - click on active button (it was placed after transaction variant name
    Raju

  • Installed CS6 all but Illustrator installed correctly, I received error DF024, DW063, and DW050, how can I install Illustrator and fix these errors?

    installed CS6 all but Illustrator installed correctly, I received error DF024, DW063, and DW050, how can I install Illustrator and fix these errors?
    this is the log error file I get:
    Exit Code: 6
    Please see specific errors and warnings below for troubleshooting. For example, ERROR: DF024, DW063 ...
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 4 error(s), 0 warning(s)
    ----------- Payload: {AAF0D225-F129-40F2-916E-12E28DBD19ED} Adobe Illustrator CS6 Core 16.0.0.0 -----------
    ERROR: DF024: Unable to preserve original file at "/Applications/Adobe Illustrator CS6/Adobe Illustrator.app/Contents/Frameworks/AdobeCrashReporter.framework/AdobeCrashReporter" (Seq 1649)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 1649)
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050: - Adobe Illustrator CS6 Core_AdobeIllustrator16en_USLanguagePack: Install failed
    ERROR: DW050: - Adobe Illustrator CS6 Core: Failed due to Language Pack installation failure

    hold down shift-cmd-alt while starting ai.  if done correctly, you'll see a preferences reset prompt.
    if that fails, uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Siri keeps cutting in and out when I'm using my iPad3 and I don't even use Siri. This Is driving me mad. Can someone find it in their heart to help me.thanks,Michael.

    SIri keeps cutting in and out when I'm using my iPad 3 and it's driving me mad.
    i Don't even use Siri and know I can turn it off but don't want to.
    could someone please find it in their heart to try and help me with this issue.
    kind regards
    michael.

    If you have your iPad connected to the charger it could be the new "Hey Siri" feature that allows you to use Siri without pressing the home button. Do you have a radio on or are people talking ? Go to settings> general> Siri> Allow"Hey Siri"> off.

  • How to erase all content and settings when ipad requests password

    How to erase all content and settings when ipad requests password?

    gomike! wrote:
    when I dont remember my Apple ID password
    It should be the same AppleID and password you use to log in here.
    I haven't installed Find my iPhone app on the phone?
    Installing the app will simply allow you to locate a different iDevice.
    You don’t need to use it to locate the iPhone in your hands. If it’s not in your hands, you cannot use the app on that device...

  • HT1296 How do you sync iphone and PC when you have two different iphones/users?

    How do you sync iphone and PC when you have two different iphones/users in house? I just tried to sync my iphone and cancelled sync becauase I saw it was updating my phone with my husband's apps! How do I make it so that sync can distinguish between my and my husband's phone?

    I sync two iPhones and an iPad with one iTunes library on the same computer and each device has different content. Each device has its own sync preferences with iTunes. You can transfer the same music and apps to each device or different music and apps.
    Are you sharing the same Apple ID or iTunes account?

  • How to create an Area and place main windows in scripts

    How to create an Area and place main windows in scripts ?

    hi prasad,
    jst create a page first and define page windows.
    here u can specicify whether the window is main or secondary.
    to adjust the window goto form  painter  do the adjustment.

  • How to set multiple ORACLE_HOME and ORACLE_SID, on Windows

    How to set multiple ORACLE_HOME and ORACLE_SID, on Windows.
    I have 5 oracle instances. Every time if i want to start up the services , I am manually setting the environment variable (ORACLE_HOME and ORACLE_SID) and starting the services one at a time.
    Can we set multiple ORACLE_HOME and ORACLE_SID in Start->My computer-> properties-> advance-> Environment variable.
    Thanks
    Naveen

    Hi ,
    Can you please give me the link, for the doc you are referring to
    Thanks
    Naveen

  • How to keep form field and label together?

    In InDesign Creative Cloud (ID CC), I need to create a 20 page form (a type of questionnaire). As a prelude to doing this, I created a one page form. I am trying to keep labels (text) and fields together, so that if I add a question in the middle of the form, everything else moves down and stays in the correct alignment and relationship. Here is what I tried.
    Option 1: Anchored Fields. I created fields on a "fields" layer and labels on a "text" layer. The text layer generally had tables to help me see where fields should be placed. However, to keep fields and text in the same relationship on the page, I anchored the field to the text. Hoewever, this has the effect of moving the field object into the same layer as the text. When I tried to use the Articles panel to put the fields in correct tab order, I discovered that only fields (unanchored) that were in the forms layer could be dragged into the Articles panel; anchored fields (now in the text layer) could not be dragged into the Articles panel. Why?
    I know that I could also use the Object / Interactive / Set Tabs Order command, but I wanted to use Articles to see how that works.
    In this approach, I also could not figure out how to put underline the text form field
    Option 2: Tabs and Character Styles. I used character styles for underlining by not using tables, but using paragraphs and tabs to align where the fields should be. I applied a character style to a right-justified tab to get the underline. However, using this option, whenever I add a new question (field + label or instruction) in the middle of the form, everything else down on the page goes out of alignment.
    What recommendations do other form designers have? I have been trying to think of how IRS has "dense" or "complex" forms, and how these might be designed in InDesign CC. in order to apply similar techniques to my form design.
    I am running on a Mac, OS X 10.8.4, InDesign CC.

    Unless I am gravely mistaken, isnt this what you want?
    for (int i = 0; i < folderList.size(); i++) {
       String folder = (String) folderList.get(i);
        System.out.println("Folder: " + folder);
        System.out.println ("Messages: " + folderMap.get (folder));
    }

  • How to keep the JSP content constant when page refresh?

    Hi All,
    When I click page tabs in WLP, it will trigger a refresh event.
    The portlet has a webflow with a refresh event whose destination is
    lastContentUrl(referent-namespace is portal, cloned from portlet2.wf).
    The question is when the page changed, the jsp files which use
    request.getParameter() to get parameters will fail to fulfill what they
    need because the event provide none parameter.
    So that everytime page changed, these portlets will have quite strange
    contents.
    How to keep these content constant when page changed?
    Sincerely,
    Alan.

    The problem is still there if the jsp file is about inserting a new record
    into the database.
    If these parameters are gotten from the session, mutliple insertings will be
    attempted when the portlet is refresh.
    Maybe we can put some control flags in the session to judge the correct
    behavior, but the method results the session full of parameters(control
    flags).
    Or is there any better design?
    Alan.
    "travis wissink" <[email protected]> ¼¶¼g©ó¶l¥ó
    news:3cc71962$[email protected]..
    >
    Alan,
    You could use the session to put your parameters in instead of letting itride completely
    on the request object. Although, your question is more than just makingthe content
    reappear, it’s about holding state. The project that I am working on, theusers
    decided that they want the page portlets to go back to the "normal" state,not the
    "Maximized" view. So, I put a processor in between the internal.refreshwildcard
    and the Preprocessor input processor so that all the portlets would beseen in their
    "normal" state.
    Good Luck
    -Travis
    "Alan Liu" <[email protected]> wrote:
    Hi All,
    When I click page tabs in WLP, it will trigger a refresh event.
    The portlet has a webflow with a refresh event whose destination is
    lastContentUrl(referent-namespace is portal, cloned from portlet2.wf).
    The question is when the page changed, the jsp files which use
    request.getParameter() to get parameters will fail to fulfill what they
    need because the event provide none parameter.
    So that everytime page changed, these portlets will have quite strange
    contents.
    How to keep these content constant when page changed?
    Sincerely,
    Alan.

Maybe you are looking for

  • Running a java program outside eclipse...!

    Hi guys...! I wrote a java program that uses different classes. The program deals with xml documents and creates a new xml document. The problem is, the program works fine in eclipse, but when I run through the command line in windows, it complains t

  • IC webclient framework profile

    Hi, while trying to create a framework profile, the procedure says to copy the xml code of the default framework profile to a Z_ profile, while trying to do say, instructions say open the default to copy the xml code, but i am not able to see the XML

  • 4th Gen Shuffle does not mark podcasts as played in itunes library

    I listen to a lot of podcasts while I deliver my mail, and through the years each ipod I use I load the playlist onto, then I listen to what I can while working. At the end of the day I don't always finish the playlist but when I sync to itunes the o

  • Will NVIDIA GeForce2 TwinView drive a 23" CHD display?

    My 17" Studio Display (ADC) went completely dark (dead) yesterday and I was thinking of getting a new Apple 23" Cinema HD display (DVI). I would like some informed opinions as to whether my current G4 NVIDIA GeForce2 TwinView (64MB) card will adequat

  • Kernal and System errors.

    I have a ibook I have had since 03 or 04 Not sure It recently has been giving me BS when I updated the OS to the latest PPC update for OSX I restarted it and It gives me Kernal panic error (Hold the power button) when It starts up and I try to do any