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 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2006
    Posts
    47
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Table Flows Outside its Container

    Can someone tell me why my long table is flowing outside of its containing block? I've tried giving it different types of positioning, changed display, even floats and clears, but I'm stumped. If someone can just point me to a webpage that explains it, that'd be great!

    Here's the page in question: http://tpi-thevalueleader.com/produc...peSubMini2.htm



    THANK YOU VERY MUCH FOR YOUR HELP!!!!

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,628
    Thanks
    6
    Thanked 1,002 Times in 975 Posts
    Your table is floated left and there’s nothing after that table that is clearing the float.
    You have several choices:

    • Clear the float for an element directly after the table.
    • Float the parent element of the table itself.
    • Set the overflow of the parent element to auto or hidden. Note: in IE this only works well if the element hasLayout.
    Last edited by VIPStephan; 11-28-2007 at 11:57 PM. Reason: Corrected typo

  • Users who have thanked VIPStephan for this post:

    BenDesign (11-28-2007)

  • #3
    New Coder
    Join Date
    Oct 2006
    Posts
    47
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Thank you!

    Duh, I didn't see that I had that float there! Sometimes you just need someone to point it out! Thank you very much!!!


  •  

    Posting Permissions

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