Removing extra padding from a table

  • Author
    Posts
  • #31792
    Chris Brown

    I am trying to add a game to my site which uses javascript to run the game, and also create the table layout. I’ve already found that you can’t use javascript in a WP page / post, (but the workaround – so far – was to use something called “PHP CODE”, and insert the script into a <?php … ?> area and ‘echo’ the code which is executed by PHP as the page loads)

    Alas, the <table cellpadding=”0″ cellspacing=”0″ border=”0″> results in something akin to <table cellpadding=”10″ cellspacing=”0″ border=”1″> which I can only presume is set within the main Tempera theme. Here is an image of what I got; the buttons SHOULD be beside each other. (They are 80px square, and six cells wide) I’ve also tried <table style=”cellpadding:0;cellspacing:0;border:none”> which has zero effect!!

    Can anyone throw any light?

Viewing 1 post (of 1 total)

The topic ‘Removing extra padding from a table’ is closed to new replies.