Jump to content

Clearing Floats Trouble


zhangy

Recommended Posts

Hi Im having trouble using multiple floats. I have a setup like the following:

 

<div> 

<div id="left_column" style="float:left;">			
</div>

<div id="right_column" style="float:right;">
   <div>
    <div class="right_background">

     <div style="float:left;">
     </div>

     <div>
     </div>

     <div style="float:left;">
     </div>

     <div style="float:left;">
     </div>

     <div>
     </div>

    </div>		
</div>
</div>

 

My problem is I am having trouble clearing them. How to properly clear these floats? Can just the last one be cleared or must all of them be cleared?

Link to comment
https://forums.phpfreaks.com/topic/172104-clearing-floats-trouble/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.