This is a discussion on "[SOLVED] Div not expanding to contain items inside" within the Web Page Design section. This forum, and the thread "[SOLVED] Div not expanding to contain items inside are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Div not expanding to contain items inside
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] Div not expanding to contain items inside
Can any one help me with the CSS to make sure the container div expands to include all content. Sure it's a simple thing!
HTML as follows:
|
|
|
|
||||
|
Re: Div not expanding to contain items inside
my best guess to what you want
Last Blog Entry: Basic Advice for newbies (Feb 1st, 2008)
|
|
||||
|
Re: Div not expanding to contain items inside
|
|
|||
|
Re: Div not expanding to contain items inside
Karinne, thanks!
The overflow:hidden propety works just fine. I did try that yesterday at work and it didn't work but have just recreated the layout from scratch at home and no problem! Are there any issues with the overflow:hidden property? BTW The Webforumz newsletter is great, hadn't looked at it before. Cheers Snappy |
|
||||
|
Re: Div not expanding to contain items inside
Not that I know of ... or ... not one that I have encountered yet
Glad to see it worked |
|
|||
|
Re: [SOLVED] Div not expanding to contain items inside
Personally, I would use { overflow: auto } instead, which has the exact same effect but would add a scrollbar if the content became hidden.
This is more a theoretical problem than a practical one, however. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Links from inside swf to html pages | Posie | Flash & Multimedia Forum | 6 | Jan 3rd, 2008 22:02 |
| [SOLVED] positioning something inside an image | danny322 | Web Page Design | 3 | Dec 5th, 2007 13:36 |
| passing items to paypal | dab42pat | PHP Forum | 5 | Jun 16th, 2007 10:13 |
| Animation for menu items | David Blake | Flash & Multimedia Forum | 12 | Jun 14th, 2007 00:54 |
| [SOLVED] Using variables to determine where library items will appear | Anonymous User | Flash & Multimedia Forum | 1 | Feb 9th, 2005 14:30 |