Brettic.us

Recent twitter entries...

  •  
follow me on twitter
subscribe to rss feed

CSS Tips

Expand Container Divs

Often I have problems with css for floating divs in a container div. The following link suggests using overflow:auto and width:100% to expand the container div.

?View Code CSS
1
2
3
4
5
div.container {
	border: 1px solid #000000;
	overflow: auto;
	width: 100%
}

Source Link

Comments are closed.

  • Categories

    • Bretticus
    • CodeIgniter
    • General
    • Humor
    • Linux
    • Mac
    • Netbeans
    • PHP
    • Programming
    • Technology
  • Recent Posts

    • PHP 5.2 and 5.3 side-by-side on Apache and Ubuntu 10.10
    • CodeIgniter Form Validation: How to allow inline and config rules simultaneously
    • Getting the GET back in CodeIgniter!
    • Google Analytics Hook for CodeIgniter
    • How to install PHP Zip Extension for MAMP 1.9
  • Pages

    • About
      • My Resume
    • Code
      • HTML2PHP
      • PHP: Codeigniter Library for Eztexting.com API
      • PHP: Remote IP + Load Balancer
      • PHPizer
      • Woot Bash Script
    • Tech Wiki
      • CSS Tips
      • MySQL Tricks
      • PHP
      • Subversion Techniques
    • Unobtrusive JavaScript Slides
  • Archives

    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • November 2009
    • August 2009
    • July 2009
    • October 2008
    • September 2008
    • June 2007
    • September 2006
    • August 2006
  • Subscribe

    • Facebook
    • LinkedIn
    • Twitter Feed
© 2012 Brettic.us