Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

divs

  • 02-06-2011 12:31am
    #1
    Registered Users, Registered Users 2 Posts: 210 ✭✭


    hi when i float 2 divs inside a warpper div it stops expanding i have the warpper set to 100% but it stops when i float 2 why would this b? would any one know


Comments

  • Registered Users, Registered Users 2 Posts: 184 ✭✭Razzuh


    Could you copy and post some html and the css?


  • Registered Users, Registered Users 2 Posts: 11,989 ✭✭✭✭Giblet


    You need to clear after the two divs.
    <style>
    .float {
      float:left;
    }
    .clear {
      clear:both;
    }
    </style>
    
    <div class="wrapper">
      <div class="float"></div>
      <div class="float"></div>
      <div class="clear"></div>
    </div>
    


  • Registered Users, Registered Users 2 Posts: 210 ✭✭pjwhite99


    Thanks giblet worked out for me well thanks again


Advertisement