justuptime.com - monitor your servers & websites

Cells in DIV tables?

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

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

brady.k's picture

He has: 1,383 posts

Joined: Feb 2002

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

tables have rows, columns, and cells
divs do not

Kyle Brady, President, Intuitive Industries LLC.
http://www.int-ind.com
[EMAIL=brady.k@gmail.com]brady.k@gmail.com[/EMAIL] - [EMAIL=brady.kyle@int-ind.com]brady.kyle@int-ind.com[/EMAIL]

Busy's picture
Modrater

He has: 6,157 posts

Joined: May 2001

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

more info please

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...

Renegade's picture
Moderator

He has: 2,944 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.

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

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
Modrater

He has: 6,157 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

<?bhb if(broken){ echo("It wasn't me Smiling "); } ?>
Learn HTML the ez way - EzHTML.net

Some people are like slinkies, they dont really serve any purpose but they still bring a smile to your face when you push them down the stairs ...