Hi Schalk,
Thank you for your answer.
The second option works great, but not the first.
Thanks again.
Warm Regards,
Mário Gamito
Schalk wrote:
> Mário Gamito wrote:
>
>> Hi,
>>
>> How can i make three parallel blocks (or one sub divided into three)
>> with each block having fixed dimensions and the text inside each other
>> wrapping ?
>>
>>
>>
>
> Greetings Mario
>
> I think what you are after is this:
>
> XHTML
> <div id="wrapper">
> <div id="block1">Some text</div>
> <div id="block2">Some text</div>
> <div id="block3">Some text</div>
> </div>
>
> CSS
> #wrapper {
> width:300px; // or whatever your width needs to be
> }
> #block1 {
> position:relative;
> float:left;
> width:100px;
> }
> #block2 {
> position:relative;
> float:left;
> width:100px;
> }
> #block3 {
> position:relative;
> float:left;
> width:100px;
> }
>
> OR
>
> XHTML
> <div id="wrapper">
> <div class="block">Some text</div>
> <div class="block">Some text</div>
> <div class="block">Some text</div>
> </div>
>
> #wrapper {
> width:300px; // or whatever your width needs to be
> }
> .block {
> position:relative;
> float:left;
> width:100px;
> }
>
> Somebody correct me if I am in error.
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/