Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-28-2007, 09:26 PM   PM User | #1
BenDesign
New Coder

 
Join Date: Oct 2006
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
BenDesign is an unknown quantity at this point
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!!!!
BenDesign is offline   Reply With Quote
Old 11-28-2007, 09:37 PM   PM User | #2
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,579
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
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.
__________________
Don’t click this link!

Last edited by VIPStephan; 11-28-2007 at 11:57 PM.. Reason: Corrected typo
VIPStephan is offline   Reply With Quote
Users who have thanked VIPStephan for this post:
BenDesign (11-28-2007)
Old 11-28-2007, 09:47 PM   PM User | #3
BenDesign
New Coder

 
Join Date: Oct 2006
Posts: 47
Thanks: 3
Thanked 0 Times in 0 Posts
BenDesign is an unknown quantity at this point
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!!!
BenDesign is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:23 AM.


Advertisement
Log in to turn off these ads.