Jump to content

Problem with aligning multiple tables


MasterLee

Recommended Posts

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 1

Table1 Table2

Title 2

 

Table3 Table4

Now 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 by MasterLee
Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...