Crni, The problem is that you are not defining the container width. Use Border 1px solid black to see the border of #container. Then add width and height to adjust the size.
E, -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of crni Sent: Monday, December 14, 2009 1:47 PM To: Design the Web with CSS Subject: [Design with CSS 2746] Problems with div Hello, i have problem with div. well , actualy three div. I have one div called container, and in that div i have two other levo and desno. I assign background for container, but it wont show up. When i add background color to whole body it change, but nothing is happening in div container. There is a small gap between levo i desno div, and i want that gap to have different color, well container color, but it wont show. any idea why? here is my simple CSS code #container { margin-left:200px; background:#666699; clear:both; } #levo { float:left; width:563px; padding-right:20px; } }#desno { float: left; width:318px; margin:0; padding:0; } -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected] No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.427 / Virus Database: 270.14.107/2564 - Release Date: 12/14/09 07:37:00 No virus found in this outgoing message. Checked by AVG - www.avg.com Version: 8.5.427 / Virus Database: 270.14.107/2564 - Release Date: 12/14/09 07:37:00 -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected]
