Results 1 to 2 of 2

Thread: button problem

  1. #1
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default button problem

    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">
    </div>

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

    }

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

  2. #2
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Forget it - I figured it out. Thanks anyway.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •