The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 4 of 4

Thread: Align in div

  1. #1

    Align in div

    Hello. Basically, on this page (http://www.media displays.tv/cs.php)I simply want to align the text/link 'read case study' to the bottom of that section. So that it is inline with the bottom of the image to the left of it.

    I've found a few answers to this question but none seem to fit my situation, perhaps my code is a bit messy somewhere?

    Thanks in advance...

  2. #2
    I could still use some assistance with questions to this problem but have sprites up and running enough to pass validation for now with it. Thanks !!

  3. #3
    ,

    try adding changing your style sheet

    Code:
    .smalllink{
        font-size: 10px;
        float: right;
        margin:100px 0;
    }
    add the extra line, adjust the 100px to your needs, its not the perfect solution but works.

    hobby: fgps.com/keith

  4. #4
    If you set one of the container elements to relative positioning you can absolutely position the link relative to it's container. Something like the example below would work. I'd suggest that unless you are re-using the style applied to these elements that you refer to the container with an ID instead of a class, that will make the style less ambigious.

    Code:
    div.video {
         position: relative;
    }
    
    div.video .smalllink {
         position: absolute;
         bottom: 18px;
         right: 0;
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012