SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Oct 2004
    Location
    ireland
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    tables breaking out of DIVS: why, oh why?

    Hi Folks,
    I'm still struggling to make table-less pages - CSS layout is NOT easy at
    all, even with a good book. This page however has a table for displaying
    images in amongst text [it's in the Content Management System - I have to
    work with it].

    http://www.johniwhite.com/tests/indextest.html

    The trouble is: the table is longer than its container DIV at some browser
    dimensions, so it breaks out of the bottom of it - overlapping it, ALSO:
    pushing the following DIV out of the way. I don't know either (A): Why the
    table doesn't just stay in the containing DIV or (B): why the containing DIV
    doesn't stretch with it.

    Can anyone help?
    Thanks
    John

  2. #2
    100% Windoze-free earther's Avatar
    Join Date
    Feb 2003
    Location
    Linuxland
    Posts
    2,788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try clearing the div that's breaking out:

    HTML Code:
    	<div class="tx-mocfilemanager-pi1">
    	</div>
    	<br  style="clear: both" />


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
  •