Cells in DIV tables?

They have: 47 posts

Joined: Jul 2004

Hi!
Im working on a deisgn in css and i wont to have DIV tables or what you call them, to have three cells for content boxes. Is this possible?

cheers
Ben

He has: 1,380 posts

Joined: Feb 2002

div tables? those are two different formatting options...

tables have rows, columns, and cells
divs do not

Busy's picture

He has: 6,151 posts

Joined: May 2001

On top of each other, beside each other, random, top middle and bottom of the screen ... ?

more info please

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

I have tried it, and it is possible, but IE and other browsers don't display them very well, I think only Mozilla (Firefox) and Opera and other compliant browsers support it.

it is

display:table-row;
and
display:table-cell;

or something like that.

They have: 47 posts

Joined: Jul 2004

sorry i meant rows and on top of each other!

They have: 47 posts

Joined: Jul 2004

Can i create a normal table within the DIV tag?

Busy's picture

He has: 6,151 posts

Joined: May 2001

you mean like table stuff ?? yeah, although the better way is to add the CSS to the table cells, but depends on what your trying to do, can also do it the other way whatever but again it depends what you want to do because if you try float the txt for example it can run over the edge on some browsers

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.