WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Place Flash at bottom of sidebar (4 posts)

  1. barnz2k
    Member
    Posted 6 years ago #

    There are tons of posts about errors causing things to go to the bottom of a sidebar, but I want to intentionally place Flash at the bottom of my sidebar.
    I tried float and position absolute codes but it does it in relation to the window size, so I cant just position it with margins.

    Closest I have now is simply using a DIV in the footer, but it puts the flash directly under the sidebar, and the footer beneath. If the footer goes behind it I dont mind - the flash should align to bottom of either the sidebar or the footer is acceptable

    Cheers.

  2. barnz2k
    Member
    Posted 6 years ago #

    Ok ive spent almost all day trying different things.. And I finally got it!
    Its actually very simple but i went through many combinations before getting it pixel perfect
    -----

    in your Style.CSS

    add a new Div Container

    '#bottombox {
    float:left;
    position:absolute;
    left: 0px;
    bottom: 83px;
    }
    '
    then in your footer, before the last '</div>'
    put what you want in another div
    '<div id="bottombox">Something on the bottom</div>
    </div>'

    just adjust the number of pixels in the CSS to match the heigh of your footer.

    Done!

  3. barnz2k
    Member
    Posted 6 years ago #

    forgot to add also,
    you need to put a

    'position: relative;'

    (under clear:both if its there)

    in your footer container, inside the CSS

  4. ollerwe
    Member
    Posted 6 years ago #

    Thanks for the information! I might try that.

Topic Closed

This topic has been closed to new replies.

About this Topic