+ Reply to Thread
Results 1 to 4 of 4

Thread: DIV/boxes problem.

  1. #1
    Junior Member
    Join Date
    Jan 2009
    Posts
    9

    DIV/boxes problem.

    Ok, unfortunately I don't have a sample of this to show so I am hoping someone can help me just from my explanation.

    I have one DIV 'box' that is a background to a content section of my site. It is 750 pixels wide, and the height is 100%. I have that working, including the 100% 'stretch'.

    But...

    I want to place another DIV inside that box for some text content. But when I do this, the ''inside DIV' overflows my 'background DIV' if there is a large amount of text. And the background DIV no longer stretches to right to the bottom of my page (100%). There is a gap at the bottom, and the inside DIV content overflows into that gap.

    I want the background DIV/box to stay at 100% height, and stretch/enlarge to accomodate the inside DIV/box

    Not sure if I have explained this well enough, but if anyone has any pointers from what I have typed, thanks in advance.


  2. #2
    CSS Wizardry Harry's Avatar
    Join Date
    May 2007
    Location
    Leeds, England
    Posts
    13,881
    Try adding overflow:hidden; to the wrapper (outside) div. It sounds like a float issue.

  3. #3
    Junior Member
    Join Date
    Jan 2009
    Posts
    9
    Thanks! It seems to have solved the problem in Firefox/Camino I just have to test it out in IE.

  4. #4
    CSS Wizardry Harry's Avatar
    Join Date
    May 2007
    Location
    Leeds, England
    Posts
    13,881
    No worries. Lemme know how it goes :)

+ Reply to Thread

Similar Threads

  1. Keeping boxes in order
    By Eggbox in forum CSS Forum
    Replies: 4
    Last Post: 03-12-2008, 09:21 PM
  2. Sh*t Boxes
    By carlyz in forum Off Topic
    Replies: 3
    Last Post: 28-05-2008, 08:11 PM
  3. Css Warning Boxes
    By Westy in forum CSS Forum
    Replies: 0
    Last Post: 22-05-2008, 08:22 PM
  4. CSS Tutorials and Exanples - Little Boxes
    By Graphic Design Links in forum Graphic Design Links
    Replies: 0
    Last Post: 13-12-2007, 12:30 PM
  5. White boxes
    By Toon in forum Web Browsers Forum
    Replies: 0
    Last Post: 09-02-2007, 10:18 AM

Bookmarks

Posting Permissions

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


The Graphics Forum Web Design Stuff Free Decent Downloads Free Quality Wallpapers Graphics Forum Free Vista Themes
The Top The Best Images Tech Talk 247 Logo Design - $149 Affordable Stock Vector Illustrations Creativecurio - Design Blog Graphic Design Advertising

Check the forum often for the latest design announcements. Everything from graphic design and web design, to films and music. Estetica is a great place for people to get together and help each other out.



Web Hosting - UK Web Hosting services for business or personal website hosting needs.

Dedicated Servers - A full range of Managed Dedicated Server solutions suitable for all your requirements.

Graphic Design Blog | Web Design Forum | Graphic Design and Print Forum | Graphic Design Links | Advertise On This Site

Web Design UK | Vision.To Design | Leaflet Printing | Estetica Design Forum's Privacy Policy

Flyer Printing | Photography Blog | Design Forum Links | Logo Design | Graphic Design Social Network | Logo Design

Graphic Design Tutorials | Logo Designer | UK Logo Design Studio | Land for sale | Vector Art Blog | Leaflet Printing

Free Web Hosting | Custom Logo Design - $149 Only | Affordable Print Design Templates | Small Business Logo Design | Company Logo Design

Logo Design Service | Logo Design Firm | Logo Design Reseller | Custom Logo Design | Letterhead Printing | Flyer Printing | Business Card Printing

Printing | Leaflet Printing | Online Backup | T-Shirt Printing | Personalised Mugs | Canvas Printing | Free Web Hosting Comparison Site