WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar - float or position... (3 posts)

  1. IIIIIIIV
    Member
    Posted 8 years ago #

    Howdy,

    On my blog - http://www/ulujain.org/blog/ (warning: not safe for work) I've tinkered with the Anarchy them and have most things the way I want, except the sidebar...

    The sidebar's CSS uses absolute positioning, but I'd like something else, like floating or something, as it precludes me from putting a footer in there as both overlap if the page is short.

    I've tried float: left but it just throws the sidebar under the main page.

    I'd like it to be flush with the top line of the first post, as I have it now.

    Any solutions?

  2. dermarki
    Member
    Posted 8 years ago #

    You are is using a flexible layout with a fixed-width-sidebar. In this case you might look at that article on alistapart:
    http://www.alistapart.com/articles/negativemargins/

    I'm using this method on my website, too. It works fine :) . I just limited the minimum-width and the maximum-width of the whole page but it the main code is the same.

  3. IIIIIIIV
    Member
    Posted 8 years ago #

    Wow, that did it! I had to mess with it a little to get around IE 6.0's horror way of calculating margins and stuff, but it worked. I use FF as my browser, but still...

    Thanks for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic