Arraylist isnt updating at the right position

Hi all
Im having a problem with arraylist
I have a custom ADT that stores all of my ap data (my stylesheet info)
what i am trying to do is when i click the save changes button, before the changes are saved i am putting my custom ADT into an array list
then i want to be able to traverse back through the arraylist to have an undo feature
however, everytime i add something to my arraylist, everything is becoming the same value
im using ar.add(pointervalue,myadt)
the pointervalue increments when every save is done
is this something to do with me needing to override my equals and hashcode on my custom adt?
i wouldnt expect it to be though as im using an int as my pointer value and not the actual value of the adt (and am i right in thinking arraylist always uses the int pointer as it isnt a map?)
anyway, can anyone help shed a little light on the subject, thanks

as workSheet is defined at the start as it is used in
a few other methods.You have to see the difference between a reference to an object and the object itself.
i can see what your saying, but im not fully
understanding why when i update the worksheet adt,
why isnt it putting it in the arraylist as a new objectBecause this is not PHP, where objects are passed as copies. The list only gets a copy of the reference, not of the object. Both the list and "workSheet" are pointing to the same instance. You use only one instance of your worksheet in your program, that's why anything gets overwritten.
why does the array list update every one?It doesn't. There is only one object, and many references pointing to it.

Similar Messages

  • How do I get a div to stay the right size and stay in the right position!

    Hi,
    I have created a blank template, created a css file and linked and now placing div's for my content. I have limited amount of knowledge with css but get by ok.
    I have one consistant problem - when creating the layout I first use a container which I need ot hold all my content. The page has a separate colour and the container stays white, I want it to hold all the content together but it keeps disappearing when I upload to web!
    other div's within the page also through out and go half way up the page. It all looks fine within the dreamweaver page!
    What I am I NOT doing?
    Any help would be appreciated.
    Thanks in advance

    Ok,thanks - the background should be white, with a 0.2 keyline around the edge of the site and the three boxes floating should be under the main content, hope this makes sense!
    http://www.newtonclarkepartnership.co.uk/new%20dw/staff_vets.html
    thanks

  • Installed snow leopard and the right click on my mouse no longer works. Any ideas?

    I just replaced my hard drive and installed a clean copy snow leopard with all updates. The right mouse button (normal wired mouse that came with imac) with the menu drop down is no longer working. changed secondary button in mouse settings and got the right click menu but now when I right click the file or group of files are no longer highlighted. this *****. any ideas?? Between the hassle of replacing a hard drive, mouse problems, firefox, opera, office mac and elgato tv problems and issues im fed up.
    Message was edited by: tele59

    Apple menu -> System preferences -> Keyboard and Mouse should give you controls over the mouse. If not, either Steer Mouse or USB Overdrive might give you better control.

  • Printerhead is stuck in right position

    This morning my printer gave the 0x61011bea message (paperjam);  after checking the entire machine I didn't find any paper left in the printer. The only thing I can't check is if there is any paper left in the printerhead because the printerhead is stuck in its starting position. Even after using considerable force, it will not move to the centre position. Even after resetting the printer and cut off the power, it will not move. Can some one give me some suggestions how to handdle? Because the printer is already 4 years in use, I will not let it be repaired because of the costs. yours scincerely, Bouke  

    Hi , Welcome to the HP Support Forums! I see that you're carriage is stuck in the right position on your HP Officejet 6500A Printer. I will certainly do my best to help you. From what you're describing, it sounds like the carriage is not moving correctly, this guide will help you determine if you have a hardware issue. I would try the steps within this guide, A 'Carriage Jam' or '0X610000F6' Message Displays for HP Officejet 6500A e-All-in-One Printer Series. NOTE: If the printer does not print a test page, there is an issue with the printer hardware. Continue to the next solution. Contacting HP for service in all countries/regions except Asia Pacific.If you completed all the preceding steps and your product still has an issue, service the product.First, go to Check your product warranty to check your printer warranty status, and then go to Contact HP Support to find an authorized service dealer or to schedule a repair.Repair fees might apply for out-of-warranty printers. What you can do, is use the following link to create yourself a case number, then call and it may help speed up the call process:
    Step 1. Open link: www.hp.com/contacthp/
    Step 2. Enter Product number or select to auto detect
    Step 3. Scroll down to "Still need help? Complete the form to select your
    contact options"
    Step 4. Scroll down and click on: HP contact options - click on Get phone
    number
    Case number and phone number appear. I hope this helps! Good Luck!

  • I am have trouble getting music I have already purchased in the past to transfer to my phone after I did an update.  The music is there and I can see it but it cannot be played when the music is put on shuffle. It just skips right past it? How do you fix?

    I am having trouble.getting music that I have purchased in the past to transfer to my phone after I did recent update on the phone. I can see the music, it is in a lighter font and appears to still be there but will not play.  When placed on shuffle it will skip right over this music. I have already paid for this music and have been able to play it at one time but that was before the update. Why can I not listen to this music anymore?

    Did you ever resolve the iCloud problem.I am in the same position and its driving me mad!!! If you have a link to an solution I would appreciate it.

  • HT5243 It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to have 10.6.8 as a requirement. WHICH is it?  Is it for all versions of 10.6 or not?

    It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to HAVE 10.6.8 as a requirement. WHICH is it?  Is it for all versions of 10.6 or not? Why isnt this made more clear?
    And question is STILL not answered.  WHICH is to be downloaded and used?
    I would like an answer.

    Thank you for the clarification!  It is really kinda circle-speaking to state on an information page to put forth info people need in that manner.  It really does add to the confusion and frustration when you need a simple,
    straight answer, such as you gave, and you dont get one.  Kind of like that . . other... software company....
    This rabbit hole still continues, though.  I'm going to ladder it out, just to see for myself:
    Have: MacBookPro / 2.4 GHz/ Intel Core i5/ running OS X 10.6.3 -
    Need: latest version of Java, so Flash update can be loaded;
                                  (want html5 to be the standard so badly, but client wants Flash)                  
      Attempted:  Tried to find Java for Mac OS X 10.6 Update 2 on Apple website.  No Joy.
            Found:   Update 2 is proper update for Mac OS X 10.6.3.  Could not find download on Apple website;
                           - No Joy.
      Attempted:  Tried to find Java for Mac OS X 10.6 Update 8. Half Joy. Confusing, no straight info.
            Found:   In order to install update for Java, must update OS X from present 10.6.3 to 10.6.8
      Attempted:   Tried to find update to OS X 10.6.3 to 10.6.8. on Apple website.
    how far does the rabbit hole go?

  • HT6114 My iMac seems to have frozen during the update- how long should I expect the update to take? The 'installing software update' bar is still showing itself working but has been stuck in the same position for over an hour.

    My iMac seems to have frozen during the update- how long should I expect the update to take? The 'installing software update' bar is still showing itself working but has been stuck in the same position for over an hour. Any thoughts?

    Update2: There is something very wrong with wireless on mountain lion recovery. I don't know what the problem is, but this link may explain:
    http://osxdaily.com/2012/08/10/os-x-mountain-lion-10-8-1-beta-released-for-dev-t esting-may-include-wi-fi-fix/
    Wireless recovery would start out with over 25 hours estimated and kept on failing. It turns out to be a two step process of downloading a few Mbytes then a 4Gbyte .dmg file, but I couldn't even download the Mbyte file. I bought the thunderbolt to gigabit ethernet adapter, plugged it in, restarted recovery and download of a little more than 4Gbytes took less than an hour. My limiting factor was probably comcast home internet rate of 12Mbps. The wi-fi wireless connection should be able to do over 100Mbps, so wireless shouldn't be much slower than wired, except wi-fi wireless is broken. Now that ML is installed and updated, wi-fi seems fine now, as I am using it right now, but I haven't tried downloading a big file yet.
    Don't use wi-fi wireless for Mountain Lion recovery.

  • The HUD Inspector in Full Screen View seems to position at the right margin of the image as a default(?)  If I toggle the button in the top right of the HUD it 'unlocks' and I can drag it to where I prefer -- at the left margin; (for over a decade) my doc

    The HUD Inspector in Full Screen View seems to position at the right margin of the image as a default(?)  If I toggle the button in the top right of the HUD it 'unlocks' and I can drag it to where I prefer -- at the left margin; (for over a decade) my dock has resided at the right margin so all my slider manipulation over countless editing sessions in Aperture has been ingrained to work at the left margin -- but, the vast majority of the time, the HUD overlaps the image I am editing in this 'unlocked' mode. 
    Every occasionally I enter Full Screen View and it positions on the left margin *without* superimposition...(!) My great joy is modulated into aggravation, however, should my tracking cursor drift all the way 'out of bounds' -- to call in the hidden pane of adjacent images sequenced in the library... This dramatically shrinks the Full Screen display and re-locks the HUD; if I toggle the switch to re-xpand the image it re-positions at the right margin!!!!  I SOOoooooo wish I knew how to control the default 'locked' margin of the HUD in Full Screen View...

    Drag it over to the Left. Then lock it there.

  • I am having trouble with the position of my header image across browsers. white space above it in safari, pc, and crome then all to the right in firefox.

    nydogworks.net
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>NYDogWorks Long Island Dog Training and Behavior</title>
    <meta name="description" content="Serving all of Long Island, Nassau & Suffolk. NYDogWorks specializes in dog training, dog behavior, and puppy training.">  
    <meta name="keywords" content="dog training, long island dog training, dog trainer, long island dog obedience, puppy training classes">
    <link href="css/mainstyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript"
    src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script><!-- Beginning of compulsory code below -->
    <link href="css/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
    <link href="css/default.advanced.css" media="screen" rel="stylesheet" type="text/css" />
    <!--[if lt IE 7]>
    <script type="text/javascript" src="js/jquery/jquery.js"></script>
    <script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
    <![endif]-->
    <!-- / END -->
    <link href="css/overlay-apple.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.tools.min.js"></script>
    <style>
      div.apple_overlay h2 {
      margin:10px 0 -9px 0;
      color:#222;
      font-weight:bold;
      font-size:14px;
      div.black h2 {
      color:#222;
      #apple {
      margin-top:10px;
      float: left;
      width: 250px;
      padding-right: 10px;
      #apple img {
      background-color:#fff;
      padding:2px;
      border:1px solid #ccc;
      margin:2px 5px;
      cursor:pointer;
      -moz-border-radius:4px;
      -webkit-border-radius:4px;
      body {
      margin-right: auto;
      margin-left: auto;
    </style>
        <!--[if lt IE 7]>
      <style>
      div.apple_overlay {
      background-image:url(http://static.flowplayer.org/tools/img/overlay/overlay_IE6.gif);
      color:#fff;
      /* default close button positioned on upper right corner */
      div.apple_overlay div.close {
      background-image:url(http://static.flowplayer.org/tools/img/overlay/overlay_close_IE6.gif);
      </style>
      <![endif]--><script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script><script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    </script>
    <script type="text/javascript">
    var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-26177215-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    <body onload="MM_preloadImages('images/nydogworks-logo-hover.png','images/training-services-on. jpg','images/behavior-therapy-on.jpg','images/off-leash-training-on.jpg')">
    <div id="wrapper"> <div id="header">
      <div id="logoBox"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','images/nydogworks-logo-hover.png',1)"><img src="images/nydogworks-logo.png" alt="NY Dogworks" name="Image3" width="280" height="200" border="0" id="Image3" /></a></div>
    <div id="slogan">Serving All of Long Island, Nassau &amp; Suffolk Counties<br />
      Also serving Manhattan, Brooklyn &amp; Queens
    </div><div id="emailBox">
        <h2><img src="images/calltogetstarted.png" width="473" height="74" alt="Call to get started" /></h2>
        </div><div id="mainNav"><!-- Beginning of compulsory code below -->
    <ul class="dropdown dropdown-horizontal" id="nav" name="nav">
      <li><a href="about-ny-dog-works.html">About Us</a></li>
      <li><a href="long-island-dog-training-programs.html" class="dir">Training Programs</a>
       <ul>
                <li><a href="basic-obedience.html">In Home Dog Training</a></li>
                <li><a href="dog-behavior-therapy.html">Behavior Therapy</a></li>
                <li><a href="board-and-train-dog-program.html">Board & Train Program</a></li>
                <li><a href="off-leash-training.html">Off Leash Training</a></li>
                <li><a href="puppy-training-program.html">Puppy Training</a></li>
    </ul>
      </li>
        <li><a href="dog-trainer-testimonials.html" class="dir">Testimonials</a></li>
      <li><a href="contact-long-island-dog-trainer.html" class="dir">Contact Us</a></li>
    </ul>
    <!-- / END --></div>
    </div>
      <div id="container">
    <div id="imgholder"><a href="long-island-dog-training-programs.html"><img src="images/main-header.jpg" alt="private dog training long island new york" width="951" height="416" border="0" /></a>
      <div id="program1"><a href="long-island-dog-training-programs.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','images/training-services-on.jpg',1)"><img src="images/training-services.jpg" alt="dog training services" name="Image6" width="315" height="137" border="0" id="Image6" /></a></div>
      <div id="program1"><a href="board-and-train-dog-program.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','images/boarding_training-on.jpg',1)"><img src="images/Boarding_training.jpg" alt="board and train dog program" name="Image5" width="315" height="137" border="0" id="Image5" /></a></div>
      <div id="program1"><a href="dog-behavior-therapy.html" onmouseout="MM_swapImgRestore()" onmouseover=
      "MM_swapImage('Image7','','images/Behavior_therapy2-on.jpg',1)"><img src="images/Behavior_therapy2.jpg" alt="behavior therapy" name="Image7" width="311" height="137" id="Image7" border="0" align="right" /></a></div>
    </div>
    <div id="pageContentNoside">
       <div id="sideSub">
         <h2>Dog Training Services<br />
           </h2>
         <ul id="subnav">
           <li><a href="basic-obedience.html">Basic Obedience</a></li>
           <li><a href="dog-behavior-therapy.html">Behavior Therapy</a></li>
           <li><a href="board-and-train-dog-program.html">Board & Train Program</a></li>
           <li><a href="off-leash-training.html">Off Leash Training</a></li>
           <li><a href="puppy-training-program.html">Puppy Training</a></li>
           </ul>
         <br />
         <iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2F NYDogWorks%2F219268038151244%3Ffref%3Dts&amp;width=248&amp;height=558&amp;show_faces=true& amp;colorscheme=light&amp;stream=true&amp;border_color=%23FFFFFF&amp;header=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:248px; height:558px;" allowTransparency="true"></iframe>
         <p><br />
           </p>
         <p> </p>
         <p><img src="images/4449da18fc3aa2f249d17dc90ebd5531.jpg" width="145" height="136" /><br />
         </p>
         </div>
       <div id="mainContentFeature1">
         <h2>Welcome To NY Dogworks</h2>
         <p><img src="images/dog-breaking-through.jpg" alt="new york dog trainer" width="136" height="170" class="h_img_float_right" />Our private one on one training lessons are done at your home by a Professional Certified Trainer and Behavior Expert. The lessons are tailored to fit what you would like done with your puppy or adult dog. <br />
           <br />
           We use a humane, positive and scientifically sound approach that makes it easy for you and your dog to succeed. Our instructions are broken down into simple steps so that everyone can take part in the training and be able to practice as a family. <br />
           <br />
           <span class="employeeName">Call Today for a Free Consultation!!      </span></p>
         <p>Do not have the time or patients to do the Training? Well then NY DogWorks has the answer.. We now do <a href="board-and-train-dog-program.html">Board and Train Programs</a> at our lovely facility in the home of Owner &amp; Trainer Brian DeMartino. It is a 2 to 6 week program that is 100% guaranteed. Your dog will stay with us for no additional fee if we feel that he or she is not ready to graduate. This program can be for Puppy Training, Housebreaking, Socialization / Obedience &amp; Manners / Behavior problems such as Aggression, Anxiety, or Fears / Advanced Off Leash Training / Personal Protection and much more..</p>
         <p>We also <a href="board-and-train-dog-program.html">board dogs</a> at our facility if you are going away and want your family pet to be cared for 24/7 as if he or she was one of our own. Plenty of playtime, walks, individual attention, grooming if needed, comfortable sleeping areas with their own bed, and lots and lots of love.. </p>
         <p>Let us help you have the relationship that you and your dog deserve.. <br />
           <br />
           <strong>We are now accepting</strong><br />
           <img src="images/creditcards.jpg" width="228" height="43" alt="now accepting credit cards" /><br />
           <br />
           <br />
           </p>
         <p><br />
           </p>
         <p><br />
           <br />
          </div>
       <div id="mainContentFeature2">
         <form action="form.php" method="post" name="form2" id="form2"> <table width="279" border="0" cellpadding="2" cellspacing="2">
           <tr>
             <td width="273"><h2>Quick Contact</h2></td>
             </tr>
           <tr>
             <td class="mainContent">Your Name</td>
             </tr>
           <tr>
             <td><span class="style9">
               <input name="forname" type="text" class="colorfieldssmall" id="forname" size="20" />
               </span></td>
             </tr>
           <tr>
             <td class="mainContent">Your Email Address* (required)</td>
             </tr>
           <tr>
             <td><span class="style7 style9">
               <input name="admail" type="text" class="colorfieldssmall" id="admail" size="25" />
               </span></td>
             </tr>
           <tr>
             <td class="mainContent">Phone Number</td>
             </tr>
           <tr>
             <td><span class="style7 style9">
               <input name="phone" type="text" class="colorfieldssmall" id="phone" />
               </span></td>
             </tr>
           <tr>
             <td><span class="mainContent">Type of Dog Training</span></td>
             </tr>
           <tr>
             <td class="mainContent"><span class="style9">
               <select name="need" class="colorfieldssmall" id="need">
                 <option value="select one">select one</option>
                 <option value="Basic Obedience">Basic Obedience</option>
                 <option value="Behavior Therapy">Behavior Therapy</option>
                 <option value="Board and Train">Board and Train</option>
                 <option value="Off Leash Training">Off Leash Training</option>
                 <option value="Puppy Training">Puppy Training</option>
                 </select>
               </span></td>
             </tr>
           <tr>
             <td><span class="mainContent">Comments</span></td>
             </tr>
           <tr>
             <td><textarea name="comments" id="comments" cols="24" rows="8"></textarea></td>
             </tr>
           <tr>
             <td><div align="left">
               <input type="submit" name="submit" id="submit"  value="Submit" />
               </div>
               </td>
             </tr>
           </table></form>
         <h2><br />
           We are available in the following areas:</h2>
         <p>Long Island, Nassau county, Suffolk county, Manhattan, Brooklyn, Bronx, &amp; Queens.</p>
         <p>**We have pick up and drop off services for your pet for the boarding and boarding and training programs. <br />
           </p>
         <h2>Dog Training Testimonials<br />
           </h2>
         <p>Sending Otis to Brian for the board and train program was the best decision I ever made.  After being told Otis could not be helped and that he should be put down, I was devastated.  Otis has now been back from Brian's program for a few weeks and is extremely obedient and friendly.  He is the same puppy we brought home a couple years ago, but calmer and without any aggression.  We work on Otis' obedience daily as well as walk him and put him on the treadmill.   Thanks to Brian, our dog is happy-go-lucky and more approachable.  The list goes on and on of how Brian has helped the family, myself, and especially Otis.  If you are having issues with your dog, especially behavior and aggression problems, my advice to you is to trust Brian.  Your dog will be in good hands with a safe, reliable, responsible, dog lover that will treat your dog like his own.<br />
           <span class="testimonalName"><strong><br />
             Victoria Zilli<br />
             </strong></span><span class="mainContent">Long Island, New York</span><br />
           <br />
           <a href="dog-trainer-testimonials.html">Read more dog training testimonals</a><br />
           <br />
           <br />
          <br /></div>
       <div id="breadCrumbs">
         <p><a href="index.html">Home</a> &gt; Welcome to NY DogWorks New York's Premier Dog Training Company<br />
           <strong>Serving all of Long Island, Nassau &amp; Suffolk County, Manhattan, Brooklyn &amp; Queens</strong>        <br />
           </p>
         </div>
    </div>
        <div id="footer">
          <div id="footermenu">
          <div id="footermenu1">
          </div>
        </div>
       <div class="phoneNumber" id="copyright"> Copyright © 2014  NY DogWorks</div>
         <div class="websiteDesign" id="sitedesigner">Long Island Website Design by <a href="http://www.wetribet.com" title="Wet Ribet" target="_blank" class="medlink">Wet Ribet</a>     </div>
    </div>
    </div>
    </div>
    </body>
    </html>

    The issue with that white space is explained by the use of relative positioning of your menu. Remember that relative positioning visually allows you to move an element, but that its "shadow" or "foot print" is retained in the document flow. So it still takes up space where it originally flowed in your content, and this causes the header image to position itself the way it does. Turn off the relative positioning of the menu to see what I mean. A simple solution is to set the #header to relative positioning, and then apply absolute positioning to the menu.
    There are other issues with your code. Much of it can be simplified, and you should really stop using ID selectors from this point on, and predominantly use classes instead. The use of ID selectors ought to be limited as much as you can - they force you to write bloated convoluted code.
    Try to write DryCSS (Don't Repeat Yourself).
    Here is my somewhat cleaned up code. Notice I removed and simplified most of the css selectors. Some have no css properties at all anymore. And be careful that you cannot use re-use the same id selector in your html  code: it will not validate. #program1 must become .program1
    PS as always, please backup your files before applying these changes! Dreamweaver lacks a history/versioning feature!
    *, *:before, *:after {
      -webkit-box-sizing: border-box;
         -moz-box-sizing: border-box;
              box-sizing: border-box;
    body {
        margin: 0 auto;
        background-color: #203610;
        font-family: "Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
        font-size: 100%;
        color: #333;
    #wrapper {
      background: url("../images/wrapbg.png") repeat-y scroll 0 0 rgba(0, 0, 0, 0);
      margin: 0 auto;
      width: 951px;
    #header {
      position: relative;
    #mainNav {
      background: url("../images/menubg.jpg") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
      bottom: 0;
      padding: 0 15px 0 25px;
      position: absolute;
      right: 0;
      width: 510px;
    .dropdown li { /* simplify .dropdown li !*/
      float: left;
      line-height: 2.2em;
    .dropdown a { /* simplify ul.dropdown li a !*/
      display: block;
      font-weight: bold;
      padding: 7px 12px;
    #container {
      background-color: #fff;
      border-top: 6px solid #6f9f49;
    #imgholder {
    .program1 { /* you CANNOT have multiple id selectors sharing the same name! Use classes!!! */
      float: left;
      width: 315px;
    rewrite this in your html:
    <div class="pageContentNoside">
        <div class="col-1-3 sideSub">
        <div class="col-1-3 mainContentFeature1">
        <div class="col-1-3 mainContentFeature2">
        <div class="breadCrumbs">
    </div>
    .col-1-3 {
      float: left;
      width: 33.3333%;
      padding: 25px 15px;
    #sideSub {
    #mainContentFeature1 {
      border-left: 1px solid #ccc;
      border-right: 1px solid #ccc;
    #mainContentFeature2 {
    #footer {
      clear: both;
      font-family: "Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
      font-size: 0.7em;
      height: 45px;

  • When trying to restore and update my ipod touch it comes up with an error message saying: "The ipod can not be restored this device isnt eligible for the requested build"

    When trying to restore and update my ipod touch it comes up with an error message saying: "The ipod can not be restored this device isnt eligible for the requested build" How do i fix this?

    I am having the same issue. I just had the battery replaced at a third party store. The battery powers the ipod up but it needs to be restored. It is saying it isn't eligible for rebuild. I am running MAC OS 10.4.11  itunes v. 9.0   and I just want it to be restored. I need help.  Oh and its an 8 gb ipod touch.

  • The itunes store app on the iphone 4s does not appear on the iphone at all so i can't purchase any media.  I have done all the updates on the iphone and in itunes.  This happened right after i did the latest iphone update.  HOW CAN I GET THE ITUNES BACK?

    after doing all the latest updates to both my iphone 4s and itunes the itunes store app on the iphone just dissapeared.  Now i can't purchase any media.  How can i get itunes store app back on my iphone?

    If you can't find it on any of your homescreens or app folders, and you can't find it via the spotlight search screen (swipe your first home screen to the right), then is it hidden by Settings > General > Restrictions > iTunes being set 'off' ?

  • Ical update question show the right time in dock

    Hey I read some where that apple had an update for ical that showed the right day and month in the dock instead of the july 17 date it has always had. I ran all my osx updates and the ical date is still july 17. Is ther something I have to do in order to get it to show the right date. I know when i have it open it has the right date. But I don't want to leave it open all day. Can anybody give me any info thanks

    James,
    Unfortunately there is no such update.
    I have placed iCal in my Login Items (System Preferences...>Accounts>My Account>Login Items>Hide [✓ ]).
    iCal is always available for use and the date in the Dock is always correct. I can switch to iCal at any time and when I am done consulting iCal I use the (⌘+H) command to hide iCal without quitting. Leaving it open but hidden is the price you must pay to see the current day in the Dock.
    You can submit OS X Feedback with your personal recommendation for your desired method of implementation.
    ;~)

  • With the new i0s7 update I can't delete the mail in my inbox all at once.  I see there is the edit which allows you to mark all and to the right of that is MOVE and TRASH, why when you mark all you can't access these two options?

    In the new ios7 update, why can't you mark all your messages in the inbox all at once?  The EDIT tab lets you Mark All and off to the right is greyed out "move" and "trash", why can't you Select all and then press TRASH.  It only lets you mark them as Flag, or mark as read.  This *****!

    Hi Scottay777,
    Per pg 52 of the iOS7 User Manual, what you describe should be possible:
    Delete, move, or mark multiple messages. While viewing a list of messages, tap Edit. Select some messages or tap Mark All, then choose an action. If you make a mistake, shake iPhone immediately to undo.
    iPhone User Guide - For iOS 7 Software
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    If a button isn't responding correctly in Mail, you may want to try forcing it to close and then relaunch it. You may find the following article helpful:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    Regards,
    - Brenden

  • I updated the system on my I pad yesterday. Now I can not start my I pad. The screen is black, if I hold the button on the right side, first the Apple logo starts, than immediately the I-tunes Logo with a "Plug" sign comes up. That stays on for ever. What

    I updated my I pad yesterday with the ISO 7.04 . Now it just has a black screen. When I hold the button on the right hand down for 10 seconds, I first very briefly get the Apple Logo, than immediately the I-Tunes sign with a plug sign. I cannot get anything else working. I did not have I-tunes on my i-pad since the file is large, but have it on my MAC . So how can I get my I-pad working again????

    This solved all my problems. It took a while, about 87 minutes for the complete "restore to factory setting" and after that about 30 minutes to put all my contacts etc. back on.
    It did'nt matter how long it took, I have my I-Pad back and that is great.
    I really do appreciate your help. Thank you so much.

  • Since the new iTunes update 11.3, right after that I couldn't connect my iPod nano 7th G to iTunes. It kept showing me that it couldn't find my ipod, that I had to reinstall iTunes. I did that and still. And now I can't connect my iPhone 5

    Since the new iTunes update 11.3, right after that I couldn't connect my iPod nano 7th G to iTunes. It kept showing me that it couldn't find my ipod, that I had to reinstall iTunes. I did that and still. And now I can't connect my iPhone 5 to iTunes to sync my music. Can anyone please help me ?

    Hey zoelevi_13,
    Here is an article that will help you troubleshoot this issue with your devices not being recognized by your computer:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

Maybe you are looking for

  • IWeb Crashing at Open due to SFWordProcessing plugin

    My iWeb program suddenly will not open - it says "iWeb quit unexpectedly while using the SFWordProcessing plugin". It started happening when I used the software "Delicious Library 2" - which allows you to scan barcodes off books, DVDs, CDs etc - I wa

  • My message app got overloaded with text messages and won't load messages when I open it now. How can I restart it

    I've already tried to restart the iPhone and close the app and nothing has helped.

  • Forgot my security questions, but I cant call anyone. Help me!

    So I made the security questions a few years ago, and I just downloaded the app for my PC a few hours ago. I cannot call anyone because I broke my phone, and I have no home phone. I can't seem to find my Rescue E-Mail, because I'm pretty sure I never

  • Char conversion problem

    Hi all in the following query: select to_date('31-JUL-12', 'dd-MON-yy') res from dual;we have error: ORA-01843: not a valid month 01843. 00000 -  "not a valid month" *Cause:    *Action:...this is the first strange error/for me :) /... After this conv

  • Insert from File command

    I have a large document and need to import several other PDFs into this document.  When importing multiple documents in one go can you choose or edit the order in which they're imported?  I ask this because I have a folder with say, 20 PDFs, and inst