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]
-~----------~----~----~----~------~----~------~--~---

Reply via email to