There is something you have to apply for some moz browsers along the
line of
#calendar .bottom:after {
content: " ";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
as in if you're doing an hr replacement. It seems to make the
'content' a factor in the replacement for the height, so forces the
clear to work.
a moz bug?
On 19/05/2009, at 5:46 PM, henson wrote:
>
> why not apply a clear:both to the element after the smaller div so
> that it's positioning won't be affected by the float right you
> applied.
>
> On May 17, 8:47 pm, "Simon Holywell" <[email protected]> wrote:
>> For answers to these sorts of questions you would do much better to
>> jump onto a CSS IRC channel. Where you will get faster replies.
>> Same with your which PHP function does X questions to the list -
>> much better directed to a PHP channel.
>>
>> -original message-
>> Subject: [phpug] Re: CSS float
>> From: Michael <[email protected]>
>> Date: 17.05.2009 09:35
>>
>> On Sun, 17 May 2009 20:27:51 Simon Holywell wrote:
>>
>>> Google is your friend. clear:both|left|right
>>
>>> -original message-
>>> Subject: [phpug] CSS float
>>> From: Michael <[email protected]>
>>> Date: 17.05.2009 09:07
>>
>>> Is there a way to make a DIV sit below a floated DIV?
>>
>> I have used Google a lot except I don't always know what I am
>> searching for.
>>
>> Obviously float is not the way to achieve what I want.
>>
>> Is there anyway to set the smaller DIV to align itself to the right
>> side of
>> the larger DIV?
>>
>> 'float' does this though it also has other unintended consequences.
>> ie: the
>> other (below) elements then don't adjust their position accordingly.
>>
>> Michael
>
> >
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---