Forums

  • # March 27, 2014 at 11:55 am

    Hi all,

    Current I have the following CSS code for Table layout,
    table {
    border-collapse: separate;
    border-spacing: 2;
    vertical-align: middle;
    margin: auto;
    }

    What I want is to have multiple Tables to be displayed Vertically (not horizontally next to another), the above code does not do that. How to fix it?

    Thanks.

    Don

    # March 27, 2014 at 11:58 am

    Codepen.io example please.

    # March 28, 2014 at 9:03 am

    If you don’t want to see them next to each other why are you floating them left in the head of your page?

    <style>
    .tbl {float:left;}
    </style>

    I guess my next question is why are you using (in some cases) tables for layout?

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag