Support » Plugin: TablePress » cell background and border

  • Resolved marmitako

    (@marmitako)


    Hi, Tobias
    I have a tablepress group where I declare a serie of css codes to give the same format to different tables .
    I have (I think so) a problem with background-color and border cell. If in a cell I declare a border width and then define a background-color the border disappears.
    Actually, the table don´t have color background.
    Can you help me?
    Regards.

    Héctor Ugalde

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    In your link, I can see a table with green cell background and black border lines. What exactly is the issue? Can you please describe the problem in more detail?

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Thanks Tobias.
    I’m sorry.
    I’m making changes to test posibles solutions, but I don’t find.
    If you see now the page of exemple you will see that table background is white, without any color.
    If I declare now a background color the border of all cells disappear. The background-color hides the border.
    Thanks

    Hector

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, now I see a table with white background and black border lines. Can you please create the table that is not working as expected (where the border lines have disappeared after you added a background color), so that I can see that?

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Hi Tobias,
    I apologize for the delay in response.
    If you now consult the example page you will see that the borders of the cells have disappeared.
    The code I use to define the css of the table is this

    .tablepress-sostres_comarcals-group thead th,
    .tablepress-sostres_comarcals-group tbody td {
    	border: 1px solid #000000;
    	text-align: center;
    	background-color: #E4E2E1;
    }

    Thanks

    Thread Starter marmitako

    (@marmitako)

    Hello again
    This happens whenever Ideclare a background color, it doesn’t matter what color it is.
    Regards

    Hector

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    this is what I see: https://imgur.com/n9iU64x

    The table has a background color and border lines. Maybe this is problem with your screen resolution or zoom or something like that? Can you maybe try on a different computer or in a different browser? Or am I still not understanding the problem?

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Thanks for tyhe reply Tobias
    It’s posible I don’t explain well the problem.
    In this URL I upload a word document with two images. Both are same table, first the table with background and with cells without border. Secons image is same table without background and with cells with border. I think background hide cells border. The border is under background.
    Sorry for my null english.
    Regards

    Hector

    Thread Starter marmitako

    (@marmitako)

    Hi Tobias.
    I think I have find the trouble.
    It seems in Mozilla Firefox not works well.
    Any solution?
    Thanks
    Hector

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    indeed, in Firefox the border does not appear. I have no idea why though, and I don’t know how to fix that. Sorry 🙁

    Regards,
    Tobias

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    what’s interesting is that Firefox does say that there is a black border, in its developer tools: https://imgur.com/jE8QoYP
    So this might be a rendering bug in Firefox maybe…

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Good morning, Tobias
    I would not know how to explain it and even less in English.
    Could you refer this problem to the Firefox developers?
    Thanks
    Hector

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    they usually catch this by regression tests, so let’s hope that they will fix it soon.

    Regards,
    Tobias

    Thread Starter marmitako

    (@marmitako)

    Thanks a lot.
    You earn a cofee and something else for your patien.
    I’ll pay you in a few days.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks, I really appreciate it!

    Best wishes,
    Tobias
     
    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘cell background and border’ is closed to new replies.