HTML keeps being removed when I update?

  • Unknown's avatar

    I’m not sure what is currently wrong with my code but each time I try to update it, it removes a portion of it.

    I’m trying to insert a table into my blog and I’m using the following code

    <style type="text/css">
    .tftable {font-size:12px;color:#333333;width:100%;border-width: 1px;border-color: #729ea5;border-collapse: collapse;}
    .tftable th {font-size:12px;background-color:#FF0000;border-width: 1px;padding: 8px;border-style: solid;border-color: #000000;text-align:left;}
    .tftable tr {background-color:#F5A9A9;}
    .tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #000000;}
    .tftable tr:hover {background-color:#ffffff;}
    </style>

    However, when I hit update, it looks like this.

    .tftable {font-size:12px;color:#333333;width:100%;border-width: 1px;border-color: #729ea5;border-collapse: collapse;}
    .tftable th {font-size:12px;background-color:#FF0000;border-width: 1px;padding: 8px;border-style: solid;border-color: #000000;text-align:left;}
    .tftable tr {background-color:#F5A9A9;}
    .tftable td {font-size:12px;border-width: 1px;padding: 8px;border-style: solid;border-color: #000000;}
    .tftable tr:hover {background-color:#ffffff;}

    What can I do to fix this?

    The blog I need help with is: (visible only to logged in users)

  • Hi there. I don’t think you can use CSS inside a post like this. See this post on creating tables in WordPress.com using html: http://wpbtips.wordpress.com/2013/04/09/table-coding-for-wordpress-com-users/

  • The topic ‘HTML keeps being removed when I update?’ is closed to new replies.