----- Original Message ----- 
From: "Climis, Tim" <[email protected]>
To: <[email protected]>; <[email protected]>
Sent: Monday, March 02, 2009 5:27 PM
Subject: RE: [css-d] how to get 3 <div>'s on the same line ?


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Monday, March 02, 2009 11:21 AM
To: [email protected]
Subject: [css-d] how to get 3 <div>'s on the same line ?

div.container { width: 100%; margin: 0px; border:1px solid gray; 
line-height: 110%; }
div.left { float: left; width: 150px; margin-top: 20px; padding: 1em; }
div.content { margin-left: 165px; margin-top: 20px; width: 600px; padding: 
1em; border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0; }
div.right { margin-left: 900px; margin-top: 20px; width: 100px; padding: 
1em; }

You need to add either float: left to your content div, or float: right to 
your right div.  I'd suggest the float: right option as it makes the styling 
more intuitive.
---Tim

Thanks, Tim.

I tried a) float: left for content div, b) float: right for right div, c) 
both
but without any result. Any other idea ?

TIA, Cor


______________________________________________________________________
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