Code Editor - Tables

Pastor Langley

Active Member
Messages
377
I am trying to keep both columns same width. First column has text second does not. Every time I try, when use SwordSearcher Style and Format Cleaner, I loose all my efforts. My solution is add (000000000000000) which is crazy.
Searched and searched, tested and tested, no solution keeps me same after running cleaner.
If I do not run cleaner all is kinda ok, excpet for the OOOOOOOOOOOOOOOOOOOOO's. 😥
Thanks forum users.

Here is what I want: code added by me = width=100%
<TABLE width=100% style="FONT-SIZE: 1em" cellSpacing=1 cellPadding=1 border=1>
<TBODY>
1733333009753.png

Here is what cleaner does every time. code removed after Style Format and Cleaner
<TABLE style="FONT-SIZE: 1em" cellSpacing=1 cellPadding=1 border=1>
<TBODY>
1733333064305.png

Actual Table code: last line below 000000000000000 my answer to column width
<TABLE style="FONT-SIZE: 1em" cellSpacing=1 cellPadding=1 border=1>
<TBODY>
<TR>
<TD vAlign=top>An example to follow?</TD>
<TD vAlign=top></TD></TR>
<TR>
<TD vAlign=top>A sin to avoid?</TD>
<TD vAlign=top></TD></TR>
<TR>
<TD vAlign=top>A command to obey?</TD>
<TD vAlign=top></TD></TR>
<TR>
<TD vAlign=top>A promise to claim?</TD>
<TD vAlign=top></TD></TR>
<TR>
<TD vAlign=top>A truth to learn?</TD>
<TD vAlign=top></TD></TR>
<TR>
<TD vAlign=top>An action to employ?</TD>
<TD vAlign=top></TD></TR>
<TR>
<TD vAlign=top>An attitude to adopt?</TD>
<TD vAlign=top>000000000000000</TD></TR></TBODY></TABLE>
 
Here is a sample. You specify the total width of the table with the table tag, then specify the width of the cells with the first table data tags. You only need to specify the width of the cells once. You can set the width in pixels as well as percent.
<TABLE cellSpacing=10 width="100%" border=2>
<TBODY>
<TR>
<TD width="50%">this is a test</TD>
<TD width="50%">1</TD></TR>
<TR>
<TD>1</TD>
<TD>done</TD>
</TR>
</TBODY>
</TABLE>
_1.jpg
 
Here is a sample. You specify the total width of the table with the table tag, then specify the width of the cells with the first table data tags. You only need to specify the width of the cells once. You can set the width in pixels as well as percent.
<TABLE cellSpacing=10 width="100%" border=2>
<TBODY>
<TR>
<TD width="50%">this is a test</TD>
<TD width="50%">1</TD></TR>
<TR>
<TD>1</TD>
<TD>done</TD>
</TR>
</TBODY>
</TABLE>View attachment 2408
First off, Thank you. I copied and will use. Easier code.
This may be for Brandon, can you "lock" a table into place and not have SwordSearcher's "Style and Format Cleaner" re-format and loose the all.

Want a table that is spaced as set, and with or without text it stays spaced as set? ( which this one does)
Tried highltighting and running cleaner only on highlighted text only, it gets it all no work-around, all of document gets formatted.
Guess build book module, run cleaner, then last insert tables? Mmmm, huh, not ideal.
Not first choice.
 
Back
Top