• Aligning data on a website in columns
    3 replies, posted
Hi there :) I'm wondering how I align some sets of data that I have in two columns on my website? Pure HTML or CSS would be great :) Illustration of what I mean: [img]http://images.eax.dk/data_for_fp.png[/img] The rest of the site is coded in PHP and the data comes from a MySQL database. Thanks in advance :)
Tables with no borders or something.
[code] <style> .col { width:200px; float:left; } .end { width:100%; clear:both; } </style> <div> <div class="col"> hey </div> <div class="col"> there </div> <div class="end"></div> </div> [/code]
Thanks to both of you :)
Sorry, you need to Log In to post a reply to this thread.