Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> Web page/template Editing
wee2john

HTML TABLE HELP

I want to create a table for cooking conversions (imperial to metric). I did it in html code and previewed it, to find that it just came up with a list off html coding. My HMTL is enabled (profile and forum) and I have the wysiwyg posting system. I also tried it in bbcode (a simpler version) but it just appeared as BBcode as well.


How do I fix this???
admin (no pm's please)

If you enter html into a WYSIWYG panel then you will see the html codes raw.

You need to enter them into the "source" panel.

If you are not seeing bbcode then maybe bbcode was not enabled for that post.
wee2john

it was in source mode. It shows everything but the table header:

Code:
<table width="100%" cellspacing="5" cellpadding="5" border="1">    
     <tbody>        
         <tr>            
             <th>Table header</th>            
             <th>Table header</th>            
         </tr>     </tbody> </table>





EDIT: Whenever I submit it it automatically sets its self to a sticky topic.
admin (no pm's please)

Can you link to the post so we can see the issue.

The only way I think something could be set sticky unless you click sticky is if the whole posting form has been mangled in the process of putting in the wysiwyg editor  
Symon

admin (no pm's please) wrote:
Can you link to the post so we can see the issue.

The only way I think something could be set sticky unless you click sticky is if the whole posting form has been mangled in the process of putting in the wysiwyg editor  


First off this is not web pages you are talking about, you are trying to post a table in a forum post, please be careful where you post your questions, as in this case the answers are very different.

http://cooklikeapro.myfreeforum.org/Weight_Conversions_about16.html

Ok try following this guide.

http://howtodoit.myfreeforum.org/...?component=content&topicid=76
admin (no pm's please)

what have you got as your "allowed html tags"?
wee2john

I have got * as my html tags
Symon

Symon wrote:
admin (no pm's please) wrote:
Can you link to the post so we can see the issue.

The only way I think something could be set sticky unless you click sticky is if the whole posting form has been mangled in the process of putting in the wysiwyg editor  


First off this is not web pages you are talking about, you are trying to post a table in a forum post, please be careful where you post your questions, as in this case the answers are very different.

http://cooklikeapro.myfreeforum.org/Weight_Conversions_about16.html

Ok try following this guide.

http://howtodoit.myfreeforum.org/...?component=content&topicid=76
admin (no pm's please)

It does seem that th was missing as an allowed tag  
wee2john

just relized that. Added all the ones from the HOWTODOIT. It worked apart from one bit. When I add a code and preview it there is:

Code:
<tbody>
and
Code:
</tbody>
in it.
Symon

wee2john wrote:
just relized that. Added all the ones from the HOWTODOIT. It worked apart from one bit. When I add a code and preview it there is:

Code:
<tbody>
and
Code:
</tbody>
in it.


then add that to allowed html
admin (no pm's please)

not a good idea "*" should be used alone.
wee2john

oh thanks guys. I just did that and it works. Luckily it wasn't mangles 'Admin'  Wink




EDIT: One slight problem. I have fractions and am using
Code:
&frac12;
for half. But in the table it shows up as
Code:
&frac12;
admin (no pm's please)

&frac12;

That does seem to be an issue that needs looking into. But it might not be possible it takes a lot of tweaking to make the html system work at all.

Symon

wee2john wrote:
oh thanks guys. I just did that and it works. Luckily it wasn't mangles 'Admin'  Wink




EDIT: One slight problem. I have fractions and am using
Code:
&frac12;
for half. But in the table it shows up as
Code:
&frac12;


You need to use HTML Number rather than the HTML Name





&#188
&#189
&#190


Become

¼
½
¾

But at the end of each code you have to place a

;

or it does not work, i had to post like this or i could nto show the codes.
Symon

Symon wrote:
wee2john wrote:
oh thanks guys. I just did that and it works. Luckily it wasn't mangles 'Admin'  Wink




EDIT: One slight problem. I have fractions and am using
Code:
&frac12;
for half. But in the table it shows up as
Code:
&frac12;


You need to use HTML Number rather than the HTML Name





&#188
&#189
&#190


Become

¼
½
¾

But at the end of each code you have to place a

;

or it does not work, i had to post like this or i could nto show the codes.


Ok done a bit of searching, not easy as there is no one list as far as i can see but here is as far as i got.


¼  &#188
½  &#189
¾  &#190
⅓  &#8531
⅔  &#8532
⅕  &#8533
⅖  &#8534
⅗  &#8535
⅘  &#8536
⅙  &#8537
⅚  &#8538
⅛  &#8539
⅜  &#8540
⅝  &#8541
⅞  &#8542
⅟  &#8543

remember to place a

;

after each code.

hope this is of some help
wee2john

that still doesn't work.


I type in &#189 with a ; at the end but it still manages to come up:

&frac12;
Symon

wee2john wrote:
that still doesn't work.


I type in &#189 with a ; at the end but it still manages to come up:

&frac12;


Can you see them here ?

if you can they work

http://testhtml.myfastforum.org/sutra229.php#229
wee2john

In that link the bit in the table are fractions but the title shows up &frac34;



EDIT: Mine doesn't work at all. When in the HTML wysiwyg posting box it shows up as ½ but when I post it it shows up as &frac12;
Symon

wee2john wrote:
In that link the bit in the table are fractions but the title shows up &frac34;



EDIT: Mine doesn't work at all. When in the HTML wysiwyg posting box it shows up as ½ but when I post it it shows up as &frac12;


Check your settings ? do you have html allowed , on your profile and on the forum, as i said it works as shown on my test site and on here.
wee2john

they do work. I was in the html panel in the WYSIWYG posting thing. It doesn't seem to work in the html bit and automatically changes it to &frac12;
admin (no pm's please)

&frac12;

Does this work?

Does look like translating back and forth can mess the &amp;#189; &amp;#189 code up.

wee2john

another problem (surprise, surprise). I can enter the message now but when I post it there is a huge gap before the table in the post.


I looked at the Page Source and it shows:

Spoiler:

Code:
<table border="1"><tbody> &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <th>Grams</th> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <th>Ounces</th> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>15g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />

 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>20g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>30g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>40g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>60g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>75g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>90g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>100g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>125g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>150g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>175g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>200g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>225g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>300g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>375g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>500g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>625g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>700g</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>1000g (1kg)</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; <tr> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>1500g (1.5kg)</td> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <td>½</td> &nbsp; &nbsp; &nbsp; &nbsp; </tr> &nbsp; &nbsp; &nbsp; &nbsp;

<br />
 &nbsp; &nbsp; </tbody> &nbsp; &nbsp;
<br />
 </table><br />




How do i change this so it doesn't have all the spaces.
admin (no pm's please)

You have to remove all line breaks and make it one continuous line.
wee2john

what do you mean. Can you show me an example
admin (no pm's please)

Code:

<table>
<tr>


will show a line break before the table you do not want.

Code:

<table><tr>


will not.
wee2john

oh sorry i get you now. thanx for the help alls good now.

       myfreeforum.org Forum Index -> Web page/template Editing
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum