SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Can't flow div

  1. #1
    SitePoint Addict
    Join Date
    Aug 2008
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't flow div

    So, I added this nav on the left hand side of this page and so I decreased the width of those expandable divs. I can't get those expandable divs to float though. I do see that I have the the float:left; cleared in the...

    .accordian h4.ui-state-default {
    background: url("../images/accordian_closed.jpg") no-repeat top left;
    line-height: 23px;
    height: 23px;
    cursor: pointer;
    clear:both;
    text-transform: none;
    font-weight: normal;
    padding-left: 28px;
    margin: 2px 0px;
    }

    However, when I remove that everything gets messed up. I'm not quite sure what it is, but I think there is something else going on here.


    Maybe I just need a break, but any help would be appreciated


    http://nutritionfirstfitness.com/tools.php?tool=running

  2. #2
    SitePoint Enthusiast
    Join Date
    Mar 2011
    Posts
    70
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Your life would be easier if your content was contained in it's own div. Are you trying to keep the content in it's own column or do you want it to flow around the sidebar?

    I made these to give you an idea of how to make the sidebar work.


    Does that help any?

  3. #3
    SitePoint Addict
    Join Date
    Aug 2008
    Posts
    322
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx that was the key to the fix. I put all the right side content in its own div. I think was too tire yesterday. thx


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •