http://pendulum8.com/karst.test/staff2.php

Seems to have fixed it on my tests. I will have to swap staff2.php and  
staff.php now but in case you want to explain why the old method  
wasn't working you can still see it - just moved to staff2.php

Thanks, CB

On 08/07/2009, at 12:36 AM, Chris Blake wrote:

> Can i reply to my own post?
> What about this method:
> http://dtott.com/thoughts/2009/01/06/clear-your-floats-even-easier/
> Seems even easier and logical. I would need to put the IE Hack in  
> without using a separate style sheet so if anyone knows how i would  
> do that in this style sheet then I would be very grateful.
>
> CB
>
> I will make a staff2.php to test this new method.
>
>
> On 08/07/2009, at 12:17 AM, Chris Blake wrote:
>
>> Hi,
>>
>> A long time ago I found an easy way to clear floats. It's basically:
>>
>> <div class="clear">&nbsp;</div>
>>
>> and
>>
>> .clear{
>> clear:both;
>> height:1px;
>> line-height:1px;
>> margin:0;
>> padding:0;
>> }
>>
>> I hope it's a good method because I remember being really pleased
>> because it's a lot easier than other methods that I'd found.
>>
>> Anyway, I have just dropped it into the page I am having a small  
>> issue
>> with and it has gone crazy! It's clearing the right column!
>> Take a look:
>>
>> http://pendulum8.com/karst.test/staff.php
>> http://pendulum8.com/karst.test/styles/style2.css
>>
>> It's a real basic grid so I am little annoyed that it is causing so
>> many problems. Any advice or criticism is welcome.
>>
>> Thanks, CB
>> ______________________________________________________________________
>> css-discuss [cs...@lists.css-discuss.org]
>> http://www.css-discuss.org/mailman/listinfo/css-d
>> List wiki/FAQ -- http://css-discuss.incutio.com/
>> List policies -- http://css-discuss.org/policies.html
>> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>>
>
>

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to