Support » Themes and Templates » Float and corresponding wrap not working?

Float and corresponding wrap not working?

  • Hi, I’ve got a WordPress 1.2 installation (my host hasn’t upgraded to 1.5 yet). I have a menu on the right that I’d like the content to wrap around and then fill under the menu down the rest of the page.

    I’ve tried changing the position and float attributes but I’m not having any luck. Currently I’ve got my content set with a huge padding to ensure that the menu doesn’t block it out.

    The site is at: http://www.coonce-ewing.com
    The css is at: http://www.coonce-ewing.com/wp-layout.css

    Any thoughts or suggestions would be greatly appreciated

Viewing 5 replies - 1 through 5 (of 5 total)
  • Try this CSS.


    Thanks for looking at this for me. I put it in place (I’m still trying to figure out what the differences are). Afterwards I had to adjust the border on my menu to avoid doubling up the top and right.

    This then leaves the comments link flush against the right border. If I add a padding value to the content area, I then end up with my menu border having a gap in it.

    (you can see this on my site currently).

    I’ve modified the CSS I posted. Try the new version.

    (The initial problem was a couple of things: you were trying to absolutely position the menu which doesn’t work with a float in the way you wanted it. Once that was done the text flowed around it appropriately. To adjust the spacing issues this time, I removed your pad on content, and added a new .post selector with a right margin to keep it from being against the right edge under the menu. To control the spacing of the comment link beside the menu and left-margin was applied to the menu.)

    Thanks a lot!

    That explanation makes more sense to me as well (the .post selector).

    I’m fairly new to CSS and totally new to WordPress. I’ve been working on trying to make the default template my own. I really appreciate the help.

    You’re most welcome.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Float and corresponding wrap not working?’ is closed to new replies.
Skip to toolbar