Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

71 users online



CSS columns with php

CSS columns with php

Currently viewing this thread: 1 (0 members and 1 guests)


gbacon

gbacon

Neverside Newbie
Status: Offline!

CSS columns with php

You know the tutorial about how to make 2 columns with php?
http://www.spoono.com/php/tutorials/tutorial.php?id=33

How would you do this with CSS instead of using tables? Thanks in Advance =)

___________________

http://www.learn2paint.net/images/sig.gif

Rad

Rad

thinking of something witty to put here
Status: Offline!

What type of content are you going to display?

gbacon

gbacon

Neverside Newbie
Status: Offline!
Quote:

Originally posted by Radley
What type of content are you going to display?

I am pulling items from a database, and wanted each row to be made as divs and then after so many rows start a new column.

___________________

http://www.learn2paint.net/images/sig.gif

Rad

Rad

thinking of something witty to put here
Status: Offline!

If you're displaying tubular data, you can keep using tables. This is very common with a database.

gbacon

gbacon

Neverside Newbie
Status: Offline!
Quote:

Originally posted by Radley
If you're displaying tubular data, you can keep using tables. This is very common with a database.

yes, but I am a standards CSS loving person Tongue if Spoono can do it, so can I

___________________

http://www.learn2paint.net/images/sig.gif

freak

freak

Neverside Newbie
Status: Offline!
Quote:

Originally posted by gbacon
yes, but I am a standards CSS loving person

If you are, then you would use <table>'s appropriately. <table>'s are only bad when they are used for layout.

// freak

___________________

Tables for layout is an abuse. -- Internet Explorer is unsafe.

hamstu

hamstu

Neverside Newbie
Status: Offline!

Yup, like it says in freak's sig "Tables for layout is stupid." But tables for tabular data is perfectly logical. Wink

___________________

http://www.hamstu.com/images/hamstu_com.gif

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0073 seconds.