HELP with an HTML Question (TABLES/IFRAMES)?

How come this table: http://sescoops.com/topstories2.html gets corrupted when put into this iFrame: http://sescoops.com/topstorytest.html I want there to be only a horizontal scroll, not vertical. Anybody? I already had a width and height assigned to the iframe. The iframe height is greater than the table height but it is still not working. The spacing of the tables of "topstories2.html" is corrupted when it loads in the iframe. When visiting "topstories2.html" directly, it appears normal. FIXED IT!! I did not assign a width to the table because I intend to constantly add columns so I wanted it to be flexable. I added a width and its fixed. I will have to adjust the table width each time I insert a column, but there's worse things in life than that. Thanks to everybody who answered! Here's a look: http://sescoops.com/topstorytest.html You can see that finished product in action soon at my pro wrestling news website, SEScoops.com: http://www.sescoops.com

Public Comments

  1. I don't think there is a way to only scroll horizontal, say auto in your <iframe> tag in the 'scroll' (I think) property. Also, in terms of what does it get corrupted? Please provide some more information.
  2. No problem. Just adjust the width and height of the iframe with the height and width attributes. So your code would be: <iframe width="#" height="#"></iframe> Since you want only horizontal scroll bars the height needs to be slightly longer than the table height.
Powered by Yahoo! Answers