Grow your CSS skills. Land your dream job.

border on table-cell

  • # January 25, 2013 at 10:59 am

    http://jsfiddle.net/ghSkp/58/

    why not working border on table-cell?

    # January 25, 2013 at 11:20 am

    You shouldn’t put DIVs with a property of display: table-cell; in a TR as a replacement for TDs.

    Semantically, a TR should include TDs or THs as direct children.

    # January 25, 2013 at 11:42 am

    Can you write an example with children?

    # January 25, 2013 at 11:50 am

    @nuodas159,

    Appropriate table structure:

    < table >
    < tbody >
    < tr>

    Header 1

    Header 2

    Cell 1

    Cell 2

    What @Senff is saying is that you can’t intermittently switch between div’s with `display: table-cell` and ` `’s and ` `’s inside of a table element

    Either commit to a CSS table, or an HTML table, not both

    # January 25, 2013 at 12:40 pm

    Oke. Thanks then :). I tried to search another attempt

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".