MasterLee Posted November 2, 2016 Share Posted November 2, 2016 (edited) Hello,I'm not sure if I should post this in the HTML or the CSS section but here it goes:I am running a script that automatically generates HTML code. That scripts returns a series of data that I would like to display on my web page as follow:Title 1Table1 Table2Title 2 Table3 Table4Now in this example I am using 2 tables per line but a versatile solution that could also display 3 tables per line or 4 tables per line would be even better..I tried playing around with the float attribute and I ended up with my tables being all aligned one next to the other but all the Titles were ending up at the far right for example and not really separating my lines of Tables... Not sure this is even possible but thanks in advance for trying !! Edited November 2, 2016 by MasterLee Link to comment Share on other sites More sharing options...
johndoedelavegas Posted November 14, 2016 Share Posted November 14, 2016 Wrap your table in a div. https://fiddle.jshell.net/fjtym5j4/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now