Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Simple and "silly" CSS question

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #166954
    knowledgenotebook
    Participant

    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

    #166956
    Paulie_D
    Member

    Codepen.io example please.

    #167006
    Paulie_D
    Member

    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)
  • The forum ‘CSS’ is closed to new topics and replies.