WordPress.org

Ready to get started?Download WordPress

Forums

align text and image to bottom without overflow (4 posts)

  1. vefritid
    Member
    Posted 5 years ago #

    Hi all,

    I've been breaking my head over the following problem: My blog post headers both have a title and an image of the author (its a multiauthor blog). Whatever I try, I can't seem to get the text and image to align to the bottom AND stay within the div around it (it doesn't resize). Now, I've found solutions to similar problems, but none of them assumes that the the text can be both larger (in lines) and smaller than the image.

    Here is a link to an abstract html, showing the problem.
    http://www.vefritid.is/va2.htm

    Can anyone fix this??

    Best,
    Agnar

  2. ClaytonJames
    Member
    Posted 5 years ago #

    I'm not sure if I really understand, but try this and see if it pushes things in the direction you want.

    #outer{
    width:50%;
    padding:14px;
    margin:auto;
    background:#ffffcc;
    border:1px solid #000;
    position:relative;

    }

  3. vefritid
    Member
    Posted 5 years ago #

    Thanks for the reply... but no, doesn't help. The image is right now, but the text in the lower div is not aligned to the bottom of the div anymore...

  4. vefritid
    Member
    Posted 5 years ago #

    Nudge... so doesn't anyone know how to fix this?

Topic Closed

This topic has been closed to new replies.

About this Topic