MEM schrieb:
> Hello all, 
>
> I'm trying to put some text side by side with an image placeholder, however,
> after some hours, I'm unable to understand why can't I do this.
>
> Please have a look here:
> http://www.chequedejeuner.nuvemk.com/home3.html
>
> The id is:
> #txtConteudoPrimeiraColuna
>
> And it should be side by side with:
> #imgConteudoPrimeiraColuna
>
> I believe all floats are properly contained. I've also tried to enlarge the
> containers, but still no luck.
>
> Hope you can help me understand what's going on, I'm clueless about it, and
> it could be something really easy that I just can't see.
>
>
> Thanks a lot in advanced,
> Márcio
>
>
> ______________________________________________________________________
> css-discuss [[email protected]]
> 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/
>   
Hello Márcio,

try to give the div#txtConteudoPrimeiraColuna a width. Unless you do so, 
that div (because it contains a p with a lot of text) will alsways be as 
wide as the containing element and thus never go in one line with the 
former div.
As soon as you define e.g.
    div#txtConteudoPrimeiraColuna {
        width: 150px;
    }
it will go up and to the right of the image.

-- 
Best regards,

Christian Kirchhoff
Editura GmbH & Co. KG
Tempelhofer Damm 2 · 12101 Berlin
www.editura.de <http://www.editura.de>
AG Berlin-Charlottenburg · HRA 43189 B · USt.Id. DE217180548
Geschäftsführer: Ralf Szymanski
______________________________________________________________________
css-discuss [[email protected]]
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