Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter saltire

    (@saltire)

    I wanted to add some extra information to this query. To accommodate the adsense I am using [table id= 2 convert_line_breaks=false /]

    Also to try to isolate one cell with the advert I am trying
    }

    .tablepress-id-2 .column-1 row-8 {
    width: 75px !important;
    }
    What I get is too much extra white space in the advert cell but also the cells to the left and right have expanded to the same size.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Changing the width of one cell only is not really possible as that’s against the structure of a table. You can always only influence all cells in a row or all cells in a column.
    Now, for this problem with the add, the problem is some white space around the HTML tags in it.
    How exactly are you adding that ad to the table? Did you paste in the HTML code?

    Regards,
    Tobias

    Thread Starter saltire

    (@saltire)

    Hi Tobias,

    thanks for getting back to me.

    It’s a pity I can’t change a single cell but it would be good to know how to deal with the white space.

    Yes the Adsense was pasted in and I also used a centre div.

    One further question. Instead of a 3 column table could I put 3 x one column tables side by side?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    ok. Can you then please try to remove some of the space characters between that centering div and the rest of the adsense code (i.e. change something like > < to ><)?

    And yes, putting three one-column tables next to each other is possible, but what’s the point and benefit of doing that?

    Regards,
    Tobias

    Thread Starter saltire

    (@saltire)

    Okay Tobais,

    Once again thanks for the advice, I’ll have a go at closing up some of the space in the code.

    Thanks

    Thread Starter saltire

    (@saltire)

    Sorry forgot to mark as resolved

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this is helpful!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change the size of one cell only.’ is closed to new replies.