Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Containing a div inside another div :)

    Hello everyone.

    I have built a site for a client, but am having a problem with the div elements.
    The problem in a nutshell is:

    I have contained an area in a div, which is placed inside another div, but when text and images are put into the contained div, the other div does not grow in length also.

    Do any of you good people know why this may be happening?

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Do any of you good people know why this may be happening?
    Is there any way to see your page or code?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Yes of course the page is http://www.sparklefacepainting.info

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Okay, now please specify the <div>s that you are having troubles with.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    New to the CF scene
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    The trouble divs are 'container' 'main' 'maincontent' and 'designs', basically maincontent and designs hold all the information, as they get longer, I want the other divs to get longer also without manually setting the css to: '.maincontent{height:????px;} etc. ' I have made numerous other designs where the page is as long as the content needs it to be, but never with a central area like this one.

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    deanjwilliams (05-05-2010)

  • #7
    New to the CF scene
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    5
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Great thanks, I'll give the links above a good look a bit later

    Thanks for your help, much appreciated.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •