<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Comments for page &quot;Layout With Tables&quot;</title>
		<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show</link>
		<description></description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606589</guid>
				<title>(no title)</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606589</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 03:26:20 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>No problem. Sorry I couldn't reply sooner - the grandkids had me running around all day. Exhausting!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606582</guid>
				<title>Re:</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606582</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 03:01:26 +0000</pubDate>
				<wikidot:authorName>Kitsune-DAS</wikidot:authorName>				<wikidot:authorUserId>20005</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The cell class solution works absolutely perfectly! Thank you so much! I really appreciate both the help and the patience. ^^</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606574</guid>
				<title>(no title)</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606574</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 02:44:19 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <blockquote> <p>But if I were to use complex for this table (or at least this row/cell), what would be the code to use to reference the default "header" cell setting I already have set for my tables?</p> </blockquote> <p>You could add some classes to your custom CSS that matches what you have already laid out for the simple tables (<em>.wiki-content-table</em>). Then, you just apply the custom class to complex tables so the styles are applied:</p> <div class="code"> <pre> <code>/* My Table Class */ .my-table { color: #fcd7f4; border-collapse: collapse; border-spacing: 0; border-color: #cd568c; border-style: double; margin: 0.5em auto; background-color: #7f5a80; } .my-th { border: 1px solid #cd568c; padding: 0.3em 0.7em; background-color: #ffcbe7; color: #370f3d; } .my-td { border: 1px solid #cd568c; padding: 0.3em 0.7em; }</code> </pre></div> <br /> Then you use it like this on your pages (note that you can combine <em>style</em> and <em>class</em>): <div class="code"> <pre> <code>[[table class="my-table" style="float:right; width: 250px;"]] [[row]] [[cell class="my-th"]] Sample Header Cell 1 [[/cell]] [[cell class="my-td"]] sample normal content 1 [[/cell]] [[/row]] [[row]] [[cell class="my-th"]] Sample Header Cell 2 [[/cell]] [[cell class="my-td"]] sample normal content 2 [[/cell]] [[/row]] [[/table]]</code> </pre></div> <table style="color: #fcd7f4; border-collapse: collapse; border-spacing: 0; border-color: #cd568c; border-style: double; margin: 0.5em auto; background-color: #7f5a80; float:right; width: 250px;"> <tr> <td style="border: 1px solid #cd568c; padding: 0.3em 0.7em; background-color: #ffcbe7; color: #370f3d;">Sample Header Cell 1</td> <td style="border: 1px solid #cd568c; padding: 0.3em 0.7em;">sample normal content 1</td> </tr> <tr> <td style="border: 1px solid #cd568c; padding: 0.3em 0.7em; background-color: #ffcbe7; color: #370f3d;">Sample Header Cell 2</td> <td style="border: 1px solid #cd568c; padding: 0.3em 0.7em;">sample normal content 2</td> </tr> </table> <div style="clear:both; height: 0px; font-size: 1px"></div> <p>This solution would allow you to edit your colors and other styles in just one place (your custom CSS), so your concern about having to to do a bunch of manual edits to your tables flies out the window if you decide to make a change.</p> <blockquote> <p>there is no &lt;th&gt; tag equivalent.</p> </blockquote> <p>No there isn't, but this works around that. There is also no support for <em>colspan</em>. My alter-ego wrote a snippet that shows one way around that:<br /> <a href="http://snippets.wikidot.com/code:mimic-colspan-with-multiple-tables" >Mimic Colspan With Multiple Tables</a></p> <p>I hope this helps! Let us know if you need more clarification.</p> <p>-Ed</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606511</guid>
				<title>Re:</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606511</link>
				<description></description>
				<pubDate>Mon, 12 Oct 2009 00:37:33 +0000</pubDate>
				<wikidot:authorName>Kitsune-DAS</wikidot:authorName>				<wikidot:authorUserId>20005</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Also… I went back and looked at my site's custom CSS (which I essentially ripped apart and put back together from a few default pages: <a href="http://dimension-27.wikidot.com/css:frappuccino">CSS here</a>).</p> <p>Apparently my problem is the same problem someone specified above: there is no &lt;th&gt; tag equivalent.</p> <p>Has that been changed yet, or is it planned to be changed?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606343</guid>
				<title>Re: Why not use background color ?</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606343</link>
				<description></description>
				<pubDate>Sun, 11 Oct 2009 19:16:58 +0000</pubDate>
				<wikidot:authorName>Kitsune-DAS</wikidot:authorName>				<wikidot:authorUserId>20005</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>That could work as a temporary solution! I'm just a little wary about using color-scheme-specific coding in my tables, as I already have my table colors set up in my site-wide CSS scheme. If I change my site's color scheme, I'll have to hunt through all my pages and recode color codes in my tables individually; if I get the heading code to work, it would color-change itself. I'd also like to be able to copy-paste my table codes between wikis without having to recode every color tag individually. This is the problem I'm having, even if it is a little OCD of me. ^_^;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606333</guid>
				<title>Re:</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606333</link>
				<description></description>
				<pubDate>Sun, 11 Oct 2009 19:06:34 +0000</pubDate>
				<wikidot:authorName>Kitsune-DAS</wikidot:authorName>				<wikidot:authorUserId>20005</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>To be honest, I really like the simple syntax and overall it works very well for my purposes: I only really have experience with simple HTML and am learning Wikidot's syntax as I go. But if I were to use complex for this table (or at least this row/cell), what would be the code to use to reference the default "header" cell setting I already have set for my tables? Or, is there a page somewhere that I'm missing that gives a more complete listing of what can be done with tables/an outside website for the same sort of thing that you might recommend? Any help would be appreciated. :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606230</guid>
				<title>(no title)</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606230</link>
				<description></description>
				<pubDate>Sun, 11 Oct 2009 16:20:18 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It's interesting that you're mixing "simple and "complex" table syntax together. If you converted everything to the complex syntax, you would have much more control over the formatting of your table.</p> <p>-Ed</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606033</guid>
				<title>Why not use background color ?</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606033</link>
				<description></description>
				<pubDate>Sun, 11 Oct 2009 08:43:22 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <table style="align:left"> <tr> <td> <table class="wiki-content-table"> <tr> <th><strong>Experience</strong></th> <td colspan="3">6765 xp</td> </tr> <tr> <th><strong>Total Hit Points</strong><br /> <strong>Current</strong></th> <td colspan="3">31<br /> 31</td> </tr> <tr> <th><strong>AC</strong></th> <td>17</td> <td colspan="2">10 +3 [armor bonus] +3 [dex] [[Touch: -armor; Flat-footed: -dex]]</td> </tr> <tr> <th><strong>Touch AC</strong></th> <td>13</td> <td style="width:50px;background: #eee;"><strong>Flat-footed AC</strong></td> <td>14</td> </tr> </table> </td> </tr> </table> <div class="code"> <pre> <code>[[table style="align:left"]] [[row]] [[cell]] ||~ **Experience**|||||| 6765 xp|| ||~ **Total Hit Points** _ **Current**||||||31 _ 31|| ||~ **AC**|| 17||||10 +3 [armor bonus] +3 [dex] @@[[@@Touch: -armor; Flat-footed: -dex@@]]@@|| ||~ **Touch AC**||13[[/cell]][[cell style="width:50px;background: #eee;"]]**Flat-footed AC**||14|| [[/cell]][[/row]][[/table]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606029</guid>
				<title>Re: Specifying Cell Width for a Header Cell?</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606029</link>
				<description></description>
				<pubDate>Sun, 11 Oct 2009 08:36:41 +0000</pubDate>
				<wikidot:authorName>Kitsune-DAS</wikidot:authorName>				<wikidot:authorUserId>20005</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>So it's late enough at night that I'm hardly paying attention; I changed the "width:50px" in the second set of coding to "width:130px" and that solved my width issue, but it still isn't resolving as a header cell…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606027</guid>
				<title>Specifying Cell Width for a Header Cell?</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-606027</link>
				<description></description>
				<pubDate>Sun, 11 Oct 2009 08:31:04 +0000</pubDate>
				<wikidot:authorName>Kitsune-DAS</wikidot:authorName>				<wikidot:authorUserId>20005</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm having a little bit of issue getting one of my tables to cooperate… I've decided to use Wikidot to post my D&amp;D character sheets, and one of the tables just isn't behaving.</p> <div class="code"> <pre> <code>[[table style="align:left"]] [[row]] [[cell]] ||~ **Experience**|||||| 6765 xp|| ||~ **Total Hit Points** _ **Current**||||||31 _ 31|| ||~ **AC**|| 17||||10 +3 [armor bonus] +3 [dex] @@[[@@Touch: -armor; Flat-footed: -dex@@]]@@|| ||~ **Touch AC**||13||~ **Flat-footed AC**||14|| [[/cell]][[/row]][[/table]]</code> </pre></div> <br /> gets me <table style="align:left"> <tr> <td> <table class="wiki-content-table"> <tr> <th><strong>Experience</strong></th> <td colspan="3">6765 xp</td> </tr> <tr> <th><strong>Total Hit Points</strong><br /> <strong>Current</strong></th> <td colspan="3">31<br /> 31</td> </tr> <tr> <th><strong>AC</strong></th> <td>17</td> <td colspan="2">10 +3 [armor bonus] +3 [dex] [[Touch: -armor; Flat-footed: -dex]]</td> </tr> <tr> <th><strong>Touch AC</strong></th> <td>13</td> <th><strong>Flat-footed AC</strong></th> <td>14</td> </tr> </table> </td> </tr> </table> <p>Mostly it's what I want, but the cell for "Flat-footed AC" is way longer than I'd like…</p> <p>I've also tried</p> <div class="code"> <pre> <code>[[table style="align:left"]] [[row]] [[cell]] ||~ **Experience**|||||| 6765 xp|| ||~ **Total Hit Points** _ **Current**||||||31 _ 31|| ||~ **AC**|| 17||||10 +3 [armor bonus] +3 [dex] @@[[@@Touch: -armor; Flat-footed: -dex@@]]@@|| ||~ **Touch AC**||13[[/cell]][[cell style="width:50px;"]] ~ **Flat-footed AC**||14|| [[/cell]][[/row]][[/table]]</code> </pre></div> <br /> which begets <table style="align:left"> <tr> <td> <table class="wiki-content-table"> <tr> <th><strong>Experience</strong></th> <td colspan="3">6765 xp</td> </tr> <tr> <th><strong>Total Hit Points</strong><br /> <strong>Current</strong></th> <td colspan="3">31<br /> 31</td> </tr> <tr> <th><strong>AC</strong></th> <td>17</td> <td colspan="2">10 +3 [armor bonus] +3 [dex] [[Touch: -armor; Flat-footed: -dex]]</td> </tr> <tr> <th><strong>Touch AC</strong></th> <td>13</td> <td style="width:50px;">~ <strong>Flat-footed AC</strong></td> <td>14</td> </tr> </table> </td> </tr> </table> <p>This is a little better for width, but it's <strong>too</strong> narrow, putting the height off; <em>and</em> it isn't resolving the cell as a "header" cell at all…</p> <p>Is there something easy that I'm missing? Any help would be appreciated!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-537626</guid>
				<title>Re: Text Vertical Alignment Instead of Middle?</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-537626</link>
				<description></description>
				<pubDate>Sat, 18 Jul 2009 10:22:12 +0000</pubDate>
				<wikidot:authorName>leiger</wikidot:authorName>				<wikidot:authorUserId>32953</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks! Just what I was looking for :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-526689</guid>
				<title>Re: Forcing a Return</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-526689</link>
				<description></description>
				<pubDate>Sun, 05 Jul 2009 21:45:36 +0000</pubDate>
				<wikidot:authorName>Helmuti_pdorf</wikidot:authorName>				<wikidot:authorUserId>17609</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p><a href="http://www.wikidot.com/doc:wiki-syntax#toc11" >http://www.wikidot.com/doc:wiki-syntax#toc11</a> - the underscore trick</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-522748</guid>
				<title>Re: Forcing a Return</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-522748</link>
				<description></description>
				<pubDate>Tue, 30 Jun 2009 17:35:54 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You need to use the "space, underscore" trick like so:</p> <table style="align: left; border: none; border-collapse: collapse;"> <tr> <td style="font-weight:bold; border: 1px solid silver; padding:5px;">Header 1</td> <td style="font-weight:bold; border: 1px solid silver; padding:5px;">Header 2</td> <td style="font-weight:bold; border: 1px solid silver; padding:5px;">Header 3</td> <td style="font-weight:bold; border: 1px solid silver; padding:5px;">Header 4</td> </tr> <tr> <td style="border: 1px solid silver; padding:5px;">list 1, row 1<br /> list 1, row 2<br /> list 1, row 3<br /> list 1, row 4</td> <td style="border: 1px solid silver; padding:5px;">list 2, row 1<br /> list 2, row 2<br /> list 2, row 3</td> <td style="border: 1px solid silver; padding:5px;">list 3, row 1<br /> list 3, row 2<br /> list 3, row 3<br /> list 3, row 4<br /> list 3, row 5</td> <td style="border: 1px solid silver; padding:5px;">list 4, row 1<br /> list 4, row 2<br /> list 4, row 3<br /> list 4, row 4</td> </tr> </table> <p>Depending on your layout and desired look, you may need to play with the vertical alignment as well. Here's the code for the above table:</p> <div class="code"> <pre> <code>[[table style="align: left; border: none; border-collapse: collapse;"]] [[row]] [[cell style="font-weight:bold; border: 1px solid silver; padding:5px;"]] Header 1 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver; padding:5px;"]] Header 2 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver; padding:5px;"]] Header 3 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver; padding:5px;"]] Header 4 [[/cell]] [[/row]] [[row]] [[cell style="border: 1px solid silver; padding:5px;"]] list 1, row 1 _ list 1, row 2 _ list 1, row 3 _ list 1, row 4 [[/cell]] [[cell style="border: 1px solid silver; padding:5px;"]] list 2, row 1 _ list 2, row 2 _ list 2, row 3 [[/cell]] [[cell style="border: 1px solid silver; padding:5px;"]] list 3, row 1 _ list 3, row 2 _ list 3, row 3 _ list 3, row 4 _ list 3, row 5 [[/cell]] [[cell style="border: 1px solid silver; padding:5px;"]] list 4, row 1 _ list 4, row 2 _ list 4, row 3 _ list 4, row 4 [[/cell]] [[/row]] [[/table]]</code> </pre></div> <br /> -Ed
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-522737</guid>
				<title>Forcing a Return</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-522737</link>
				<description></description>
				<pubDate>Tue, 30 Jun 2009 17:17:16 +0000</pubDate>
				<wikidot:authorName>Evelyn Sloan</wikidot:authorName>				<wikidot:authorUserId>233911</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Is there any way to 'force' a return in a cell? For instance, in one cell I have a list of items, I want the items to each be on a separate line, but not in different cells. Appreciate any help.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-462764</guid>
				<title>Re: Need to have two tables next to each other</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-462764</link>
				<description></description>
				<pubDate>Tue, 28 Apr 2009 12:14:13 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You can set the width of the blank column (or any column for that matter) of cells in px, % or em:</p> <div class="code"> <pre> <code>[[cell style="border: none; width: 5px;"]][[/cell]]</code> </pre></div> <br /> You can also rip out the space character in the cell which should allow it to get as narrow as possible with now specific width setting. You'll notice in my example above, I just set the width in the first row and the rows below pick up that setting. You can totally remove the width setting and the "spacer" column will be very narrow. I added the width in my example above to make the spacer more visible. Here's the same example above with no width setting and null cells in the spacer column: <table style="align: left; border: none; border-collapse: collapse;"> <tr> <td style="font-weight:bold; border: 1px solid silver;">Header 1</td> <td style="font-weight:bold; border: 1px solid silver;">Header 2</td> <td style="font-weight:bold; border: 1px solid silver;">Header 3</td> <td style="font-weight:bold; border: 1px solid silver;">Header 4</td> <td style="font-weight:bold; border: none;"></td> <td style="font-weight:bold; border: 1px solid silver;">Header 6</td> <td style="font-weight:bold; border: 1px solid silver;">Header 7</td> <td style="font-weight:bold; border: 1px solid silver;">Header 8</td> </tr> <tr> <td style="border: 1px solid silver;">content 1</td> <td style="border: 1px solid silver;">content 2</td> <td style="border: 1px solid silver;">content 3</td> <td style="border: 1px solid silver;">content 4</td> <td style="border: none;"></td> <td style="border: 1px solid silver;">content 6</td> <td style="border: 1px solid silver;">content 7</td> <td style="border: 1px solid silver;">content 8</td> </tr> <tr> <td style="border: 1px solid silver;">content 1</td> <td style="border: 1px solid silver;">content 2</td> <td style="border: 1px solid silver;">content 3</td> <td style="border: 1px solid silver;">content 4</td> <td style="border: none;"></td> <td style="border: 1px solid silver;">content 6</td> <td style="border: 1px solid silver;">content 7</td> <td style="border: 1px solid silver;">content 8</td> </tr> </table> <div class="code"> <pre> <code>[[table style="align: left; border: none; border-collapse: collapse;"]] [[row]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 1 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 2 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 3 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 4 [[/cell]] [[cell style="font-weight:bold; border: none;"]][[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 6 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 7 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 8 [[/cell]] [[/row]] [[row]] [[cell style="border: 1px solid silver;"]] content 1 [[/cell]] [[cell style="border: 1px solid silver;"]] content 2 [[/cell]] [[cell style="border: 1px solid silver;"]] content 3 [[/cell]] [[cell style="border: 1px solid silver;"]] content 4 [[/cell]] [[cell style="border: none;"]][[/cell]] [[cell style="border: 1px solid silver;"]] content 6 [[/cell]] [[cell style="border: 1px solid silver;"]] content 7 [[/cell]] [[cell style="border: 1px solid silver;"]] content 8 [[/cell]] [[/row]] [[row]] [[cell style="border: 1px solid silver;"]] content 1 [[/cell]] [[cell style="border: 1px solid silver;"]] content 2 [[/cell]] [[cell style="border: 1px solid silver;"]] content 3 [[/cell]] [[cell style="border: 1px solid silver;"]] content 4 [[/cell]] [[cell style="border: none;"]][[/cell]] [[cell style="border: 1px solid silver;"]] content 6 [[/cell]] [[cell style="border: 1px solid silver;"]] content 7 [[/cell]] [[cell style="border: 1px solid silver;"]] content 8 [[/cell]] [[/row]] [[/table]]</code> </pre></div> <p>[edit: I should also mention that Gerdami's excellent Excel utility to create Wikidot simple or complex table code is a great tool for managing your table content. If you haven't seen it, you should check it out: <a href="http://community.wikidot.com/howto:import-simple-excel-tables-into-wikidot" >http://community.wikidot.com/howto:import-simple-excel-tables-into-wikidot</a>]. Version 2 is the one you want for "complex" tables (generates the type of code with styles we're talking about here).</p> <p>-Ed</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-462434</guid>
				<title>Re: Need to have two tables next to each other</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-462434</link>
				<description></description>
				<pubDate>Tue, 28 Apr 2009 05:45:26 +0000</pubDate>
				<wikidot:authorName>HobStarCS</wikidot:authorName>				<wikidot:authorUserId>311458</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It is working great, just wondered if I can decrease the space between the two tables?</p> <div class="code"> <pre> <code>[[cell style="border: none;"]] [[/cell]]</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-462404</guid>
				<title>Re: Need to have two tables next to each other</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-462404</link>
				<description></description>
				<pubDate>Tue, 28 Apr 2009 05:13:11 +0000</pubDate>
				<wikidot:authorName>HobStarCS</wikidot:authorName>				<wikidot:authorUserId>311458</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks <span style="text-decoration: underline;">heaps</span> Ed, that did the trick. I can see how I can use this to also make 3 or even 4 tables next to each other.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-461966</guid>
				<title>Re: Need to have two tables next to each other</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-461966</link>
				<description></description>
				<pubDate>Tue, 28 Apr 2009 00:09:48 +0000</pubDate>
				<wikidot:authorName>Ed Johnson</wikidot:authorName>				<wikidot:authorUserId>38854</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>You could float the 2 tables, but that could get messy if the browser window isn't wide enough to display them side-by-side. You might try making a single table that is 8 columns wide, leaving column 5 empty to serve as your spacer like this:</p> <table style="align: left; border: none; border-collapse: collapse;"> <tr> <td style="font-weight:bold; border: 1px solid silver;">Header 1</td> <td style="font-weight:bold; border: 1px solid silver;">Header 2</td> <td style="font-weight:bold; border: 1px solid silver;">Header 3</td> <td style="font-weight:bold; border: 1px solid silver;">Header 4</td> <td style="font-weight:bold; border: none; width: 10px;"></td> <td style="font-weight:bold; border: 1px solid silver;">Header 6</td> <td style="font-weight:bold; border: 1px solid silver;">Header 7</td> <td style="font-weight:bold; border: 1px solid silver;">Header 8</td> </tr> <tr> <td style="border: 1px solid silver;">content 1</td> <td style="border: 1px solid silver;">content 2</td> <td style="border: 1px solid silver;">content 3</td> <td style="border: 1px solid silver;">content 4</td> <td style="border: none;"></td> <td style="border: 1px solid silver;">content 6</td> <td style="border: 1px solid silver;">content 7</td> <td style="border: 1px solid silver;">content 8</td> </tr> <tr> <td style="border: 1px solid silver;">content 1</td> <td style="border: 1px solid silver;">content 2</td> <td style="border: 1px solid silver;">content 3</td> <td style="border: 1px solid silver;">content 4</td> <td style="border: none;"></td> <td style="border: 1px solid silver;">content 6</td> <td style="border: 1px solid silver;">content 7</td> <td style="border: 1px solid silver;">content 8</td> </tr> </table> <p>and so on…</p> <p>You can specify column width, add cell padding, etc. in the style definitions.</p> <div class="code"> <pre> <code>[[table style="align: left; border: none; border-collapse: collapse;"]] [[row]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 1 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 2 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 3 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 4 [[/cell]] [[cell style="font-weight:bold; border: none; width: 10px;"]] [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 6 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 7 [[/cell]] [[cell style="font-weight:bold; border: 1px solid silver;"]] Header 8 [[/cell]] [[/row]] [[row]] [[cell style="border: 1px solid silver;"]] content 1 [[/cell]] [[cell style="border: 1px solid silver;"]] content 2 [[/cell]] [[cell style="border: 1px solid silver;"]] content 3 [[/cell]] [[cell style="border: 1px solid silver;"]] content 4 [[/cell]] [[cell style="border: none;"]] [[/cell]] [[cell style="border: 1px solid silver;"]] content 6 [[/cell]] [[cell style="border: 1px solid silver;"]] content 7 [[/cell]] [[cell style="border: 1px solid silver;"]] content 8 [[/cell]] [[/row]] [[row]] [[cell style="border: 1px solid silver;"]] content 1 [[/cell]] [[cell style="border: 1px solid silver;"]] content 2 [[/cell]] [[cell style="border: 1px solid silver;"]] content 3 [[/cell]] [[cell style="border: 1px solid silver;"]] content 4 [[/cell]] [[cell style="border: none;"]] [[/cell]] [[cell style="border: 1px solid silver;"]] content 6 [[/cell]] [[cell style="border: 1px solid silver;"]] content 7 [[/cell]] [[cell style="border: 1px solid silver;"]] content 8 [[/cell]] [[/row]] [[/table]]</code> </pre></div> <p>-Ed</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-461897</guid>
				<title>Need to have two tables next to each other</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-461897</link>
				<description></description>
				<pubDate>Mon, 27 Apr 2009 22:59:39 +0000</pubDate>
				<wikidot:authorName>HobStarCS</wikidot:authorName>				<wikidot:authorUserId>311458</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all, I need to get two tables next to each other. Table one has 4 columns and 8 rows, table two has 3 columns and 8 rows. I was hoping to have a small space between the two tables. I am new to Wiki's in general and new to 'Advanced Tables' so I hope that someone can help.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-453170</guid>
				<title>Re: Aligning Text In a Cell</title>
				<link>http://snippets.wikidot.com/code:layout-with-tables/comments/show#post-453170</link>
				<description></description>
				<pubDate>Sat, 18 Apr 2009 21:40:23 +0000</pubDate>
				<wikidot:authorName>maltheopia</wikidot:authorName>				<wikidot:authorUserId>308823</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The 'Float' thing works just awesome. I wish I had discovered it earlier; it would've saved me a lot of trouble.</p> <p>Thanks, guy.</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>