<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress support forums Topic: Gap in images in table</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Gap in images in table</description>
<language>en</language>
<pubDate>Tue, 07 Oct 2008 11:40:27 +0000</pubDate>

<item>
<title>Jessica Lares on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14573</link>
<pubDate>Thu, 20 Mar 2008 21:51:01 +0000</pubDate>
<dc:creator>Jessica Lares</dc:creator>
<guid isPermaLink="false">14573@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;But how about the actual content? Like where the forums are?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14571</link>
<pubDate>Thu, 20 Mar 2008 19:18:49 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14571@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Wrap the whole thing, from beginning to end, in a div with this style: &#60;code&#62;&#38;lt;div style=&#38;quot;width: 800px; margin: 0 auto;&#38;quot;&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Put that before the beginning table tag, and then close it after the ending &#38;lt;/table&#38;gt; tag.&#60;/p&#62;
&#60;p&#62;You can separate the style from the template html by calling the div something like &#60;code&#62;&#38;lt;div id=&#38;quot;wrapper&#38;quot;&#38;gt;&#60;/code&#62; in your template then adding this to your style.css:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#wrapper {
          width: 800px;
          margin: 0 auto;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In either case, the margin is 0 top and bottom, and auto left and right, which means it will be centered horizontally in the browser no matter what the size of the browser viewport.
&#60;/p&#62;</description>
</item>
<item>
<title>Jessica Lares on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14568</link>
<pubDate>Thu, 20 Mar 2008 18:49:31 +0000</pubDate>
<dc:creator>Jessica Lares</dc:creator>
<guid isPermaLink="false">14568@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Last question, how would I align my tables so they're not on the left?
&#60;/p&#62;</description>
</item>
<item>
<title>Jessica Lares on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14567</link>
<pubDate>Thu, 20 Mar 2008 18:07:04 +0000</pubDate>
<dc:creator>Jessica Lares</dc:creator>
<guid isPermaLink="false">14567@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you! It worked perfect!
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14566</link>
<pubDate>Thu, 20 Mar 2008 17:48:35 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14566@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well, when I validate the page, there are errors around line 318 which is where a bunch of td/tr/table end tags are located.  The fact that they are improperly nested (i.e. they are closed here but are not open) means they were probably improperly closed (or not closed) elsewhere.&#60;/p&#62;
&#60;p&#62;But, just adding the &#60;code&#62;style=&#38;quot;display: block;&#38;quot;&#60;/code&#62;  to the &#60;strong&#62;&#38;lt;img&#38;gt;&#60;/strong&#62; tags as sambauers suggested should take care of it without you having to fix the improper code.  It should look fine when you do that and replace the stylesheet reference.
&#60;/p&#62;</description>
</item>
<item>
<title>Jessica Lares on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14565</link>
<pubDate>Thu, 20 Mar 2008 16:55:49 +0000</pubDate>
<dc:creator>Jessica Lares</dc:creator>
<guid isPermaLink="false">14565@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How are my tables messed up? They seem to be intact, I know that it doesn't validate because of the background and alignment. But I see nothing else.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14563</link>
<pubDate>Thu, 20 Mar 2008 13:53:47 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14563@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;So, you changed something but it's still not fixed?  The page still does not validate and the markup is still incorrect.  The nested tables you have now make it even MORE difficult to fix.&#60;/p&#62;
&#60;p&#62;I think until you fix your markup it is going to be difficult to elicit free help.  My first piece of advice is to fix the markup.  In the process, you may discover why it's doing this.&#60;/p&#62;
&#60;p&#62;Good luck.
&#60;/p&#62;</description>
</item>
<item>
<title>Jessica Lares on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14560</link>
<pubDate>Thu, 20 Mar 2008 13:14:45 +0000</pubDate>
<dc:creator>Jessica Lares</dc:creator>
<guid isPermaLink="false">14560@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It has nothing to do with the CSS as you can see now and my tables are okay.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14557</link>
<pubDate>Thu, 20 Mar 2008 06:57:46 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">14557@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I think adding:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;style=&#38;quot;display:block;&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;.&#60;br /&#62;
To the images will work
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14556</link>
<pubDate>Thu, 20 Mar 2008 06:46:14 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">14556@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Which gaps are you talking about specifically?  I see just one between the header and the forums, maybe.  Then maybe between the top and those side images as well.&#60;/p&#62;
&#60;p&#62;1.  Don't use tables for layout, use divs if you can.&#60;/p&#62;
&#60;p&#62;2.  Validate your layout CSS and HTML and fix those problems first.&#60;br /&#62;
&#60;a href=&#34;http://validator.w3.org/&#34; rel=&#34;nofollow&#34;&#62;http://validator.w3.org/&#60;/a&#62; (XHTML needs some work)&#60;br /&#62;
&#60;a href=&#34;http://jigsaw.w3.org/css-validator/&#34; rel=&#34;nofollow&#34;&#62;http://jigsaw.w3.org/css-validator/&#60;/a&#62; (CSS is OK)&#60;/p&#62;
&#60;p&#62;3.  Looks like there was some cutting and pasting going on.  The main problem, I think, is that there are tags for two tables there, but the top table (with this image gregjamesforum_01.jpg) is not really marked up as a table. There are no row and table data tags.  So, that's invalid.  Then, a new table is started below.  That's why there's a gap.&#60;/p&#62;
&#60;p&#62;I would fix the improper markup and then put everything in one table (if you are going to continue using tables) so there is no gap between the two tables.  That's why there's a gap beneath that top image right now.&#60;/p&#62;
&#60;p&#62;Also, there is nothing in your problem that is specific to bbPress, so you can seek support at any CSS/HTML forum as well if there's not enough help forthcoming here.
&#60;/p&#62;</description>
</item>
<item>
<title>Jessica Lares on "Gap in images in table"</title>
<link>http://bbpress.org/forums/topic/gap-in-images-in-table#post-14555</link>
<pubDate>Thu, 20 Mar 2008 03:20:27 +0000</pubDate>
<dc:creator>Jessica Lares</dc:creator>
<guid isPermaLink="false">14555@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm putting together a skin for my forum and there's a huge cap in the tables and images, like I have some cellpadding issues&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gregjames.org/forum/&#34; rel=&#34;nofollow&#34;&#62;http://www.gregjames.org/forum/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How would I go along as to fixing this?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
