I have a block of HTML as so:
Code:
           <div class="updateBlock">

              <div class="update1">Please click on "Update" to save all changes.</div>
              <div class="update2">&nbsp;</div>
              <div class="update3">&nbsp;</div>
              <div class="update4" align="center">New order confirmation:&nbsp;<input name="nC1" type="checkbox"></div>
              <div class="update5" align="center"><input src="includes/languages/english/images/buttons/button_update.gif" alt="Update" title=" Update " border="0" type="image"></div>
          </div>
The intention for layout for this block is that it all appear on one line, filling up whatever is the available space on the page, with small gaps between each element. The update1 element should have the variable width necessary to fill whatever empty space is available, while the other elements will have fixed widths. Note that I use class instead of id because the same block is used three times on the page.

For the CSS I currently have this:

Code:
  .updateBlock div {
 float: left
  }
  
  .update1 {
  background-color: #DBF5F7;
  position: absolute;
  width: auto;
  right: 358px;
  height: 22px;
	  }
  
  .update2 {
  background-color: #AFE9ED;
    position: absolute;
	width: 10px;
  right: 346px;
   height: 22px;
  }
  
  .update3 {
  background-color: #97E1E8;
    position: absolute;
	width: 10px;
  right: 334px;
   height: 22px;
  }
  
  .update4 {
  background-color: #79DAE1;
  position: absolute;
  width: 200px;
  right: 132px;
   height: 22px;
  }
  
  .update5 {
  background-color: #4DCCD7;
  position: absolute;
  width: 120px;
  right: 10px;
   height: 22px;
  }
It works mostly ok except that update1 does not fill up the empty space, rather it is only wide enough for the phrase it contains, 'Please click on "Update" to save all changes'. I have tried a number of different coding changes but have not been able to get this element to fill only the available space. Most attempts have resulted in the element being either two small or way too wide. Any assistance or recommendations concerning this is/are much appreciated.

Thanks