View Full Version : button problem

12-03-2006, 06:58 AM
I have a form with dynamic content - form objects and text can be added or removed. If the objects and text are added my buttons are positioned and when the form expands the buttons do not expand with it. Instead they end up in the middle of the form. How can the buttons expand with the page, if their being positioned in a certain location on the page? Is there a better technique than what I'm using? Here's my code -

<div id="buttons-foot">
<input name="button1" type="button" class="buttons" value="button1">
<input name="button2" type="button" class="buttons" value="button2">
<input name="button3" type="button" class="buttons" value="button3">
<input name="button4" type="button" class="buttons" value="button4">

#buttons-foot {
margin-bottom: 30px;
margin-left: 2px;
position: absolute;
top: 830px;


.buttons {
cursor: pointer;
font-family: Arial, Helvetica;
padding: 1px 2px;
margin-right: 7px;
background-color: #000000;

12-03-2006, 07:50 AM
Forget it - I figured it out. Thanks anyway.