• Resolved copperblade

    (@copperblade)


    I’m coming here for some help/advice on a theme I’m updating. I originally designed this theme to “float” the sidebar on the right side of the page. There must be a better way.

    Any time there is a clear:both in the contents of a post, it pushes the rest of the post to the bottom of the sidebar as you would expect. This isn’t what I want, but I’m not sure how to go about redesigning the CSS to make it work as you would expect with faux columns.

    Here is an example: http://dev.bitfreedom.com/clearing-floats

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter copperblade

    (@copperblade)

    Instead of floats, I’m using inline-blocks and that seems to work perfectly.

    Thread Starter copperblade

    (@copperblade)

    inline-blocks were a little to inflexible to support a fluid-width theme… don’t know why. So I went back and floated both columns.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘clear:both ruins my theme layout’ is closed to new replies.