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
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
Codepen.io example please.
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>
<style>
.tbl {float:left;}
</style>
I guess my next question is why are you using (in some cases) tables for layout?