{"id":142428,"date":"2005-02-10T21:57:14","date_gmt":"2005-02-10T21:57:14","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/take-2-ie-fun-with-tables\/"},"modified":"2016-08-18T19:32:40","modified_gmt":"2016-08-18T19:32:40","slug":"take-2-ie-fun-with-tables","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/take-2-ie-fun-with-tables\/","title":{"rendered":"Take 2 (i.e. fun with tables)"},"content":{"rendered":"<p>I posted a thread the other day trying to figure out how to integrate wordpress into a php site. Well, I got the integration part down. But now I&#8217;m stumped as to how get the positioning where it&#8217;s supposed to be. My site is<\/p>\n<p>http:\/\/www.ktriton.com<\/p>\n<p>Notice how the two boxes are misproportioned. I can&#8217;t figure out how to fix that. I scoured my code for any extra or misproportioned td and tr tags, but found nothing wrong.<\/p>\n<p>Here&#8217;s the code that I currently have for the whole page in case anybody has the patience to scour it \ud83d\ude42  (thanks if you do, by the way).<\/p>\n<p><pre class=\"brush: plain; title: ; notranslate\" title=\"\">&lt;br \/&gt;\n&amp;lt;HTML&amp;gt;&lt;br \/&gt;\n&amp;lt;HEAD&amp;gt;&lt;br \/&gt;\n&amp;lt;TITLE&amp;gt;indexlayout&amp;lt;\/TITLE&amp;gt;&lt;br \/&gt;\n&amp;lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text\/html; charset=iso-8859-1&quot;&amp;gt;&lt;br \/&gt;\n&amp;lt;\/HEAD&amp;gt;&lt;br \/&gt;\n&amp;lt;BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0&amp;gt;&lt;br \/&gt;\n&amp;lt;!-- ImageReady Slices (indexlayout.psd) --&amp;gt;&lt;br \/&gt;\n&amp;lt;TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0&amp;gt;&lt;br \/&gt;\n  &amp;lt;!--DWLayoutTable--&amp;gt;&lt;br \/&gt;\n  &amp;lt;TR&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD height=&quot;123&quot; COLSPAN=6&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_01.gif&quot; WIDTH=800 HEIGHT=123 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/TR&amp;gt;&lt;br \/&gt;\n  &amp;lt;TR&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD height=&quot;408&quot; colspan=&quot;2&quot; valign=&quot;top&quot;&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_02.gif&quot; WIDTH=119 HEIGHT=408 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n    &amp;lt;td width=&quot;341&quot; valign=&quot;top&quot;&amp;gt;&lt;br \/&gt;\n&amp;lt;?php&lt;br \/&gt;\n\/* Don&#039;t remove this line. *\/&lt;br \/&gt;\nrequire(&#039;.\/news\/wp-blog-header.php&#039;);&lt;br \/&gt;\n?&amp;gt;&lt;br \/&gt;\n      &amp;lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&amp;gt;&amp;lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&amp;gt; &amp;lt;head profile=&quot;http:\/\/gmpg.org\/xfn\/1&quot;&amp;gt;&lt;br \/&gt;\n      &amp;lt;title&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php bloginfo(&#039;name&#039;); ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php wp_title(); ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;\/title&amp;gt; &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=&amp;lt;?php bloginfo(&#039;charset&#039;); ?&amp;gt;&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;meta name=&quot;generator&quot; content=&quot;WordPress &amp;lt;?php bloginfo(&#039;version&#039;); ?&amp;gt;&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;!-- leave this for stats --&amp;gt;&lt;br \/&gt;\n      &amp;lt;style type=&quot;text\/css&quot; media=&quot;screen&quot;&amp;gt;&lt;br \/&gt;\n\t\t@import url( &amp;lt;?php echo get_settings(&#039;siteurl&#039;); ?&amp;gt;\/wp-layout.css );&lt;br \/&gt;\n\t&amp;lt;\/style&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text\/css&quot; media=&quot;print&quot; href=&quot;&amp;lt;?php echo get_settings(&#039;siteurl&#039;); ?&amp;gt;\/print.css&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;link rel=&quot;alternate&quot; type=&quot;application\/rss+xml&quot; title=&quot;RSS 2.0&quot; href=&quot;&amp;lt;?php bloginfo(&#039;rss2_url&#039;); ?&amp;gt;&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;link rel=&quot;alternate&quot; type=&quot;text\/xml&quot; title=&quot;RSS .92&quot; href=&quot;&amp;lt;?php bloginfo(&#039;rss_url&#039;); ?&amp;gt;&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;link rel=&quot;alternate&quot; type=&quot;application\/atom+xml&quot; title=&quot;Atom 0.3&quot; href=&quot;&amp;lt;?php bloginfo(&#039;atom_url&#039;); ?&amp;gt;&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;link rel=&quot;pingback&quot; href=&quot;&amp;lt;?php bloginfo(&#039;pingback_url&#039;); ?&amp;gt;&quot; \/&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php wp_get_archives(&#039;type=monthly&amp;#038;format=link&#039;); ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php \/\/comments_popup_script(); \/\/ off by default ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php wp_head(); ?&amp;gt;&amp;lt;\/head&amp;gt;&lt;br \/&gt;\n      &amp;lt;body&amp;gt; &amp;lt;div id=&quot;content&quot;&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php if ($posts) : foreach ($posts as $post) : start_wp(); ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php the_date(&#039;&#039;,&#039;&amp;lt;h2&amp;gt;&#039;,&#039;&amp;lt;\/h2&amp;gt;&#039;); ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;div class=&quot;post&quot;&amp;gt;&lt;br \/&gt;\n        &amp;lt;h3 class=&quot;storytitle&quot; id=&quot;post-&amp;lt;?php the_ID(); ?&amp;gt;&quot;&amp;gt;&lt;a&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link: &amp;lt;?php the_title(); ?&amp;gt;&quot;&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php the_title(); ?&amp;gt;&lt;br \/&gt;\n          &lt;\/a&gt;&amp;lt;\/h3&amp;gt;&lt;br \/&gt;\n        &amp;lt;div class=&quot;meta&quot;&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php _e(&quot;Filed under:&quot;); ?&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php the_category() ?&amp;gt;&lt;br \/&gt;\n          &amp;#8212;&lt;br \/&gt;\n          &amp;lt;?php the_author() ?&amp;gt;&lt;br \/&gt;\n          |&lt;br \/&gt;\n          &amp;lt;?php the_time() ?&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php edit_post_link(); ?&amp;gt;&lt;br \/&gt;\n        &amp;lt;\/div&amp;gt;&lt;br \/&gt;\n        &amp;lt;div class=&quot;storycontent&quot;&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php the_content(); ?&amp;gt;&lt;br \/&gt;\n        &amp;lt;\/div&amp;gt;&lt;br \/&gt;\n        &amp;lt;div class=&quot;feedback&quot;&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php wp_link_pages(); ?&amp;gt;&lt;br \/&gt;\n          &amp;lt;?php comments_popup_link(__(&#039;Comments (0)&#039;), __(&#039;Comments (1)&#039;), __(&#039;Comments (%)&#039;)); ?&amp;gt;&lt;br \/&gt;\n        &amp;lt;\/div&amp;gt;&lt;br \/&gt;\n        &amp;lt;!--&lt;br \/&gt;\n\t&amp;lt;?php trackback_rdf(); ?&amp;gt;&lt;br \/&gt;\n\t--&amp;gt;&lt;br \/&gt;\n        &amp;lt;?php include(ABSPATH . &#039;wp-comments.php&#039;); ?&amp;gt;&lt;br \/&gt;\n      &amp;lt;\/div&amp;gt;&lt;br \/&gt;\n      &amp;lt;?php endforeach; else: ?&amp;gt;&lt;\/p&gt;\n&lt;p&gt;        &amp;lt;?php _e(&#039;Sorry, no posts matched your criteria.&#039;); ?&amp;gt;&lt;\/p&gt;\n&lt;p&gt;      &amp;lt;?php endif; ?&amp;gt;&lt;br \/&gt;\n    &amp;lt;\/td&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD width=&quot;37&quot; valign=&quot;top&quot;&amp;gt; &amp;lt;div align=&quot;center&quot;&amp;gt; &amp;lt;img src=&quot;images\/images\/indexlayout_04.gif&quot; width=37 height=408 alt=&quot;&quot;&amp;gt;&amp;lt;\/div&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD width=&quot;150&quot; valign=&quot;top&quot;&amp;gt;&amp;lt;font face=&quot;Georgia, Times New Roman, Times, serif&quot;&amp;gt;&lt;strong&gt;Highlights&lt;\/strong&gt;&amp;lt;\/font&amp;gt;&lt;br \/&gt;\n      &amp;lt;font size=&quot;2&quot; face=&quot;Georgia, Times New Roman, Times, serif&quot;&amp;gt;&lt;em&gt;&amp;gt;&lt;a href=&quot;http:\/\/www.oneupstudios.com\/albums.php?show=6&quot;&gt;Xenogears&lt;br \/&gt;\n        Light | Arranged&lt;\/a&gt;&lt;\/em&gt; is finally finished! There are less than 500&lt;br \/&gt;\n        copies left, so get yours while you can! So far the reviews have been&lt;br \/&gt;\n        overwhelmingly positive.&amp;lt;\/font&amp;gt;&lt;br \/&gt;\n      &amp;lt;font size=&quot;2&quot; face=&quot;Georgia, Times New Roman, Times, serif&quot;&amp;gt;&lt;em&gt;&amp;gt;Rock&lt;br \/&gt;\n        Elemental&lt;\/em&gt; is almost finished.&lt;a href=&quot;http:\/\/vgmix.com\/song_view.php?song_id=3086&quot;&gt;&lt;br \/&gt;\n        Check out the WIP thread&lt;\/a&gt;, and let Christian and me know what you think.&amp;lt;\/font&amp;gt;&lt;br \/&gt;\n      &amp;lt;font size=&quot;2&quot; face=&quot;Georgia, Times New Roman, Times, serif&quot;&amp;gt;&amp;gt;The&lt;br \/&gt;\n        &lt;a href=&quot;images\/phpbb\/index.php&quot;&gt;forum&lt;\/a&gt; is up and running.&lt;br \/&gt;\n        Sign up and help it grow into something big :)&amp;lt;\/font&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD width=&quot;146&quot; valign=&quot;top&quot;&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_06.gif&quot; WIDTH=127 HEIGHT=408 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/TR&amp;gt;&lt;br \/&gt;\n  &amp;lt;TR&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD height=&quot;1&quot; COLSPAN=6&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_07.gif&quot; WIDTH=800 HEIGHT=1 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/TR&amp;gt;&lt;br \/&gt;\n  &amp;lt;TR&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD height=&quot;25&quot; COLSPAN=6&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_08.gif&quot; WIDTH=800 HEIGHT=25 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/TR&amp;gt;&lt;br \/&gt;\n  &amp;lt;TR&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD width=&quot;119&quot; ROWSPAN=2 valign=&quot;top&quot;&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_09.gif&quot; WIDTH=119 HEIGHT=43 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD height=&quot;11&quot; COLSPAN=4 valign=&quot;top&quot;&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_10.gif&quot; WIDTH=554 HEIGHT=11 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD ROWSPAN=2 valign=&quot;top&quot;&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_11.gif&quot; WIDTH=127 HEIGHT=43 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/TR&amp;gt;&lt;br \/&gt;\n  &amp;lt;TR&amp;gt;&lt;br \/&gt;\n    &amp;lt;TD height=&quot;32&quot; COLSPAN=4 valign=&quot;top&quot;&amp;gt; &amp;lt;IMG SRC=&quot;images\/images\/indexlayout_12.gif&quot; WIDTH=554 HEIGHT=32 ALT=&quot;&quot;&amp;gt;&amp;lt;\/TD&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/TR&amp;gt;&lt;br \/&gt;\n  &amp;lt;tr&amp;gt;&lt;br \/&gt;\n    &amp;lt;td height=&quot;0&quot;&amp;gt;&amp;lt;\/td&amp;gt;&lt;br \/&gt;\n    &amp;lt;td width=&quot;26&quot;&amp;gt;&amp;lt;\/td&amp;gt;&lt;br \/&gt;\n    &amp;lt;td&amp;gt;&amp;lt;\/td&amp;gt;&lt;br \/&gt;\n    &amp;lt;td&amp;gt;&amp;lt;\/td&amp;gt;&lt;br \/&gt;\n    &amp;lt;td&amp;gt;&amp;lt;\/td&amp;gt;&lt;br \/&gt;\n    &amp;lt;td&amp;gt;&amp;lt;\/td&amp;gt;&lt;br \/&gt;\n  &amp;lt;\/tr&amp;gt;&lt;br \/&gt;\n&amp;lt;\/TABLE&amp;gt;&lt;br \/&gt;\n&amp;lt;!-- End ImageReady Slices --&amp;gt;&lt;br \/&gt;\n&amp;lt;\/BODY&amp;gt;&lt;br \/&gt;\n&amp;lt;\/HTML&amp;gt;<\/pre><\/p>\n","protected":false},"template":"","class_list":["post-142428","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/142428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/142428\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=142428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}