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 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Allignment Problem

    I have a site where it is in the middle of the page. What I want to do is put a link at the lower right hand corner of the page. So if the page is set at 800X600 the link is in the lower right hand corner. Then if the resolution is set to 1024 X 768 the link is in the lower right hand corner. I want this link always forced to the lower righ and corner. I have tried a few things but when it is in 800X600 it is in the lower right hand corner but when resized to 1024X768 it stays where it was in the 800X600. I need it forced to the bottom right. Can someone help me with this.

    Thanks.

  • #2
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    .mythingy {
    position: absolute;
    right: 10px;
    bottom: 10px;
    }

    Then in the page:

    <div class="mythingy">
    I'm always 10px from the right and bottom
    </div>

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Dallas, Texas
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts
    that's a very cool solution. i tried it, but the only problem i had was on small resolutions the absolute div covered some of the text. oh well! i'll use it on pages with less stuff.


  •  

    Posting Permissions

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