Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

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