Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Layer problem

  1. #1
    New to the CF scene
    Join Date
    Feb 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Layer problem

    I'm having a problem when people change there resolution the layer that has my form moves from the center of the page. Any help would be greatly appreciated

    http://www.medfordcenter.org/rates.html

    <div style="position: absolute; width: 464px; height: 252px; z-index: 1; left: 410px; top: 701px" id="layer1"><form method="post" action="contact.php">
    <p align="center">Email: <input name="email" type="text"><br>
    Message:<br>
    <textarea name="message" rows="9" cols="40"></textarea><br>
    <input type="submit">
    </p>
    </div>

    Thanks

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    That might be because you are using position:absolute; You should use margins to center your form instead.


  •  

    Posting Permissions

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